Part Number Hot Search : 
67YR1M GA3285 2SK33 2SK33 2060CT 124534N CC4314B NCE2030K
Product Description
Full Text Search
 

To Download SAF-XC858CA-16FFI5V Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  data sheet v1.0 2010-03 microcontrollers 8-bit xc858ca 8-bit single-chip microcontroller
edition 2010-03 published by infineon technologies ag 81726 munich, germany ? 2010 infineon technologies ag all rights reserved. legal disclaimer the information given in this document shall in no event be regarded as a guarantee of conditions or characteristics. with respect to any examples or hints given herein, any typical values stated herein and/or any information regarding the application of the device, infineon technologies hereby disclaims any and all warranties and liabilities of any kind, including without limitation, warr anties of non-infringement of intellectual property rights of any third party. information for further information on technology, delivery terms and conditions and prices, please contact the nearest infineon technologies office ( www.infineon.com ). warnings due to technical requirements, components may contain dangerous substances. for information on the types in question, please contact the nearest infineon technologies office. infineon technologies components may be used in life-support devices or systems only with the express written approval of infineon technologies, if a failure of such components can reasonably be expected to cause the failure of that life-support device or system or to affect the safety or effectiveness of that device or system. life support devices or systems are intended to be implanted in the human body or to support and/or maintain and sustain and/or protect human life. if they fail, it is reasonable to assume that the health of the user or other persons may be endangered.
data sheet v1.0 2010-03 microcontrollers 8-bit xc858ca 8-bit single-chip microcontroller
trademarks tricore? is a trademark of infineon technologies ag. xc858 data sheet revision history: page subjects (major chan ges since last revision) we listen to your comments any information within this docu ment that you feel is wrong, unclear or missing at all? your feedback will help us to continuously improve the quality of this document. please send your proposal (including a reference to this document) to: mcdocu.comments@infineon.com
xc858ca table of contents data sheet i-1 v1.0, 2010-03 1 summary of features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 2 general device information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 2.1 block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 2.2 logic symbol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 2.3 pin configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 2.4 pin definitions and functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 3 functional description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 3.1 processor architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 3.2 memory organization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 3.2.1 memory protection strategy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 3.2.1.1 flash memory protection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 3.2.2 special function regist er . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 3.2.2.1 address extension by mappi ng . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 3.2.2.2 address extension by paging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 3.2.3 bit protection scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 3.2.3.1 password register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 3.2.4 xc858 register overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 3.2.4.1 cpu registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 3.2.4.2 system control registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 3.2.4.3 wdt registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 3.2.4.4 port registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 3.2.4.5 adc registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 3.2.4.6 timer 2 compare/capture unit registers . . . . . . . . . . . . . . . . . . . . . 41 3.2.4.7 timer 21 registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 3.2.4.8 uart1 registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 3.2.4.9 ssc registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 3.2.4.10 multican registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 3.2.4.11 ocds registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 3.2.4.12 flash registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 3.3 flash memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 3.3.1 flash bank pagination . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 3.4 interrupt system . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 3.4.1 interrupt source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 3.4.2 interrupt source and vector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 3.4.3 interrupt priority . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 3.5 parallel ports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 3.6 power supply system with embedded voltage regulator . . . . . . . . . . . . 62 3.7 reset control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 3.7.1 module reset behavior . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 3.7.2 booting scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 table of contents
xc858ca table of contents data sheet i-2 v1.0, 2010-03 3.8 clock generation unit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65 3.8.1 recommended external oscilla tor circuits . . . . . . . . . . . . . . . . . . . . . . 67 3.8.2 clock management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 3.9 power saving modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 3.10 watchdog timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72 3.11 uart and uart1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 3.11.1 baud-rate generator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75 3.11.2 baud rate generation using timer 1 . . . . . . . . . . . . . . . . . . . . . . . . . . 78 3.12 normal divider mode (8-bit auto-reload timer) . . . . . . . . . . . . . . . . . . . . . 78 3.13 high-speed synchronous serial interface . . . . . . . . . . . . . . . . . . . . . . . . . 79 3.14 timer 0 and timer 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81 3.15 timer 2 and timer 21 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82 3.16 timer 2 capture/compare unit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83 3.17 controller area netw ork (multican) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84 3.18 analog-to-digital converter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86 3.18.1 adc clocking scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86 3.18.2 adc conversion seq uence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87 3.19 on-chip debug support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89 3.19.1 jtag id register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90 3.20 chip identification number . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91 4 electrical parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92 4.1 general parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92 4.1.1 parameter interpretation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92 4.1.2 absolute maximum rating . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93 4.1.3 operating conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94 4.2 dc parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95 4.2.1 input/output characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95 4.2.2 supply threshold characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97 4.2.3 adc characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98 4.2.3.1 adc conversion timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101 4.2.4 power supply current . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102 4.3 ac parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104 4.3.1 testing waveforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104 4.3.2 output rise/fall ti mes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105 4.3.3 power-on reset and pll timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106 4.3.4 on-chip oscillator characte ristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107 4.3.5 external data memory charac teristics . . . . . . . . . . . . . . . . . . . . . . . . 108 4.3.6 external clock drive xtal1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110 4.3.7 jtag timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111 4.3.8 ssc master mode timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113 5 package and quality declaration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114 5.1 package parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114
xc858ca table of contents data sheet i-3 v1.0, 2010-03 5.2 package outline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115 5.3 quality declaration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116
data sheet 1 v1.0, 2010-03 xc858ca 8-bit single-chip microcontroller 1 summary of features the xc858 has the fo llowing features: ? high-performance xc800 core ? compatible with sta ndard 8051 processor ? two clocks per machine cycle architecture (for memory access without wait state) ? two data pointers ? on-chip memory ? 8 kbytes of boot rom ? 256 bytes of ram ? 3 kbytes of xram ? 64/52/36 kbytes of flash; (includes memory protection strategy) ? i/o port supply at 5.0 v and core logic supply at 2.5 v (generat ed by embedded voltage regulator) (more features on next page) figure 1 xc858 functional units port 0 port 1 port 3 xc800 core uart adc 10-bit 8-channel boot rom 8k x 8 xram 3k x 8 ram 256 x 8 on-chip debug support timer 0 16-bit timer 1 16-bit timer 2 capture/ compare unit 16-bit uart1 ssc 8-bit digital i/o 8-bit digital i/o 8-bit digital i/o port 4 port 5 multican timer 21 16-bit watchdog timer 8-bit digital i/o . 8-bit digital i/o flash 36k/52k/64k x 8 8-bit analog input
xc858ca summary of features data sheet 2 v1.0, 2010-03 features: (continued) ? power-on reset generation ? brownout detection fo r core logic supply ? on-chip osc and pll for clock generation ? loss-of-clock detection ? power saving modes ? slow-down mode ? idle mode ? power-down mode with wake-up ca pability via rxd or exint0 ? clock gating contro l to each peripheral ? programmable 16-bit watchdog timer (wdt) ? five ports ? up to 40 pins as digital i/o ? 8 dedicated analog inputs used as a/d converter input ? 8-channel, 10-bit adc ? four 16-bit timers ? timer 0 and time r 1 (t0 and t1) ? timer 2 and time r 21 (t2 and t21) ? multican with 2 nodes , 32 message objects ? timer 2 capture/compare unit for pwm signal generation (t2ccu) ? two full-duplex serial in terfaces (uart and uart1) ? synchronous serial channel (ssc) ? on-chip debug support ? 1 kbyte of monitor rom (par t of the 8-kbyte boot rom) ? 64 bytes of monitor ram ? pg-lqfp-64 pin package ? temperature range t a : ? saf (-40 to 85 c)
xc858ca summary of features data sheet 3 v1.0, 2010-03 xc858 variant devices the xc858 product family f eatures devices with differ ent program memory sizes. the list of xc858 devices and th eir difference are summarized in table 1 . the type of package available is the lqfp-64. as this document refers to all the derivatives, some de scription may not apply to a specific product. for simplicity, all versions are referred to by t he term xc858 throughout this document. ordering information the ordering code for infineo n technologies microcontrol lers provides an exact reference to the required produc t. this ordering code identifies: ? the derivative itself, i.e. its function set, the temper ature range, and the supply voltage ? the package and the type of delivery for the available ordering codes for the xc858, please refer to your responsible sales representative or yo ur local distributor. table 1 device summary sales type device type program memory (kbytes) power supply (v) temp- erature (c) quality profile saf-xc858ca-9ffi 5v flash 36 5.0 -40 to 85 industrial saf-xc858ca-13ffi 5v flash 52 5.0 -40 to 85 industrial saf-xc858ca-16ffi 5v flash 64 5.0 -40 to 85 industrial
xc858ca general device information data sheet 4 v1.0, 2010-03 2 general device information chapter 2 contains the block diagram, pin configur ations, definitions and functions of the xc858. 2.1 block diagram the block diagram of the xc858 is shown in figure 2 . figure 2 xc858 block diagram adc port 0 port 1 port 3 uart 1 ssc timer 2 capture / compare unit 8-kbyte boot rom 1) 256-byte ram + 64-byte monitor ram 3-kbyte xram 36/52/64-kbyte flash xc800 core t0 & t1 uart 1) includes 1-kbyte monitor rom p0.0 - p0.7 p1.0 - p1.7 p3.0 - p3.7 an0 ? an7 v aref v agnd clock generator 4 mhz on-chip osc pll xtal 1 xtal 2 internal bus v ddp v ssp v ddc v ssc reset tms mbc xc858 timer 21 multican port 4 port 5 p4.0 - p4.7 p5.0 - p5.7 wdt ocds tm
xc858ca general device information data sheet 5 v1.0, 2010-03 2.2 logic symbol the logic symbol of th e xc858 is shown in figure 3 . figure 3 xc858 logic symbol xc858 v ddp v ssp v ddc v ssc v aref v agnd xtal1 xtal2 tms mbc port 0 8-bit port 1 8-bit port 3 8-bit an0 ? an7 port 4 8-bit port 5 8-bit reset tm
xc858ca general device information data sheet 6 v1.0, 2010-03 2.3 pin configuration the pin configuratio n of the xc858 in figure 4 . figure 4 xc858 pin configur ation, pg-lqfp-64 package (top view) v ddp xc858 123 45678910111213141516 17 18 19 28 27 26 25 24 23 22 21 20 32 31 30 29 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 64 63 62 53 54 55 56 57 58 59 60 61 49 50 51 52 reset p3.5 p3.4 an2 v ddp p1.3 p1.4 p5 . 0 p4.2 p4.1 p4.0 p1.2 v ssp p5 . 1 an0 p0.3 p0.4 p0 . 5 p1 . 6 p1 . 7 v ssc v ddc xta l2 xta l1 tms mbc p1.0 p1.1 p1.5 an4 an3 an7 an5 an6 p3.0 p3.1 p3.2 p3.3 p3.6 p3.7 v aref v agnd p0 . 6 p0.7 p4.5 p4.4 p4.6 p4.7 p5 . 5 p5.6 p5.7 p5 . 4 v ddp p0.0 n.c. tm p5 . 3 p4.3 p5 . 2 v ssp p0.2 p 0 . 1 an1
xc858ca general device information data sheet 7 v1.0, 2010-03 2.4 pin definitions and functions the functions and default st ates of the xc85 8 external pins are provided in table 2 . table 2 pin definiti ons and functions symbol pin number (lqfp-64) type reset state function p0 i/o port 0 port 0 is an 8-bit bidi rectional general purpose i/o port. it can be used as alternate functions for the jtag, uart, uart1, t2ccu, timer 21, multican, ssc and external interface. p0.0 17 hi-z tck_0 clkout_0 rxdo_1 jtag clock input clock output uart transmit data output p0.1 21 hi-z tdi_0 rxd_1 rxdc1_0 exf2_1 jtag serial data input uart receive data input multican node 1 receiver input timer 2 external flag output p0.2 18 pu tdo_0 txd_1 txdc1_0 jtag serial data output uart transmit data output/clock output multican node 1 transmitter output p0.3 63 hi-z sck_1 rxdo1_0 a17 ssc clock input/output uart1 transmit data output address line 17 output p0.4 64 hi-z mtsr_1 txd1_0 a18 ssc master transmit output/ slave receive input uart1 transmit data output/clock output address line 18 output p0.5 1 hi-z mrst_1 exint0_0 t2ex1_1 rxd1_0 a19 ssc master receive input/slave transmit output external interrupt input 0 timer 21 external trigger input uart1 receive data input address line 19 output
xc858ca general device information data sheet 8 v1.0, 2010-03 p0.6 2 pu t2cc4_1 wr compare output channel 4 external data write control output p0.7 62 pu clkout_1 t2cc5_1 rd clock output compare output channel 5 external data read control output table 2 pin definiti ons and functions (cont?d) symbol pin number (lqfp-64) type reset state function
xc858ca general device information data sheet 9 v1.0, 2010-03 p1 i/o port 1 port 1 is an 8-bit bidi rectional general purpose i/o port. it can be used as alternate functions for the jtag, uart, time r 0, timer 1, t2ccu, timer 21, multican, ssc and external interface. p1.0 34 pu rxd_0 t2ex_0 rxdc0_0 a8 uart receive data input timer 2 external trigger input multican node 0 receiver input address line 8 output p1.1 35 pu exint3_0 t0_1 txd_0 txdc0_0 a9 external interrupt input 3 timer 0 input uart transmit data output/clock output multican node 0 transmitter output address line 9 output p1.2 36 pu sck_0 a10 ssc clock input/output address line 10 output p1.3 37 pu mtsr_0 sck_2 txdc1_3 a11 ssc master transmit output/slave receive input ssc clock input/output multican node 1 transmitter output address line 11 output p1.4 38 pu mrst_0 exint0_1 rxdc1_3 mtsr_2 a12 ssc master receive input/ slave transmit output external interrupt input 0 multican node 1 receiver input ssc master transmit output/slave receive input address line 12 output table 2 pin definiti ons and functions (cont?d) symbol pin number (lqfp-64) type reset state function
xc858ca general device information data sheet 10 v1.0, 2010-03 p1.5 39 pu exint5_0 t1_1 mrst_2 exf2_0 rxdo_0 external interrupt input 5 timer 1 input ssc master receive input/ slave transmit output timer 2 external flag output uart transmit data output p1.6 10 pu exint6_0 rxdc0_2 t21_1 external interrupt input 6 multican node 0 receiver input timer 21 input p1.7 11 pu t2_1 txdc0_2 timer 2 input multican node 0 transmitter output p1.5 and p1.6 can be us ed as a software chip select output for the ssc. table 2 pin definiti ons and functions (cont?d) symbol pin number (lqfp-64) type reset state function
xc858ca general device information data sheet 11 v1.0, 2010-03 p3 i/o port 3 port 3 is an 8-bit bidi rectional general purpose i/o port. it can be used as alternate functions for uart1, t2ccu, ti mer 21, multican and external interface. p3.0 43 hi-z rxdo1_1 t2cc0_1/ exint3_2 uart1 transmit data output external interrupt input 3/t2ccu capture/compare channel 0 p3.1 44 hi-z txd1_1 uart1 transmit data output/clock output p3.2 49 hi-z rxdc1_1 rxd1_1 t2cc1_1/ exint4_2 multican node 1 receiver input uart1 receive data input external interrupt input 4/t2ccu capture/compare channel 1 p3.3 50 hi-z txdc1_1 t2cc2_1/ exint5_2 a13 multican node 1 transmitter output external interrupt input 5/t2ccu capture/compare channel 2 address line 13 output p3.4 51 hi-z rxdc0_1 t2ex1_0 t2cc3_1/ exint6_3 a14 multican node 0 receiver input timer 21 external trigger input external interrupt input 6/t2ccu capture/compare channel 3 address line 14 output p3.5 52 hi-z exf21_0 txdc0_1 a15 timer 21 external flag output multican node 0 transmitter output address line 15 output p3.6 41 pu - p3.7 42 hi-z exint4_0 a16 external interrupt input 4 address line 16 output table 2 pin definiti ons and functions (cont?d) symbol pin number (lqfp-64) type reset state function
xc858ca general device information data sheet 12 v1.0, 2010-03 p4 i/o port 4 port 4 is an 8-bit bidi rectional general purpose i/o port. it can be used as alternate functions for timer 0, timer 1, t2ccu, timer 21, multican and external interface. p4.0 59 hi-z rxdc0_3 t2cc0_0/ exint3_1 d0 multican node 0 receiver input external interrupt input 3/t2ccu capture/compare channel 0 data line 0 input/output p4.1 60 hi-z txdc0_3 t2cc1_0/ exint4_1 d1 multican node 0 transmitter output external interrupt input 4/t2ccu capture/compare channel 1 data line 1 input/output p4.2 61 pu exint6_1 t21_0 d2 external interrupt input 6 timer 21 input data line 2 input/output p4.3 40 hi-z t2ex_1 exf21_1 d3 timer 2 external trigger input timer 21 external flag output data line 3 input/output p4.4 45 hi-z t0_0 t2cc2_0/ exint5_1 d4 timer 0 input external interrupt input 5/t2ccu capture/compare channel 2 data line 4 input/output p4.5 46 hi-z t1_0 t2cc3_0/ exint6_2 d5 timer 1 input external interrupt input 6/t2ccu capture/compare channel 3 data line 5 input/output p4.6 47 hi-z t2_0 t2cc4_0 d6 timer 2 input compare output channel 4 data line 6 input/output p4.7 48 hi-z t2cc5_0 d7 compare output channel 5 data line 7 input/output table 2 pin definiti ons and functions (cont?d) symbol pin number (lqfp-64) type reset state function
xc858ca general device information data sheet 13 v1.0, 2010-03 p5 i/o port 5 port 5 is an 8-bit bidi rectional general purpose i/o port. it can be used as alternate functions for uart, uart1, t2ccu, jtag and external interface. p5.0 8 pu exint1_1 a0 external interrupt input 1 address line 0 output p5.1 9 pu exint2_1 a1 external interrupt input 2 address line 1 output p5.2 12 pu rxd_2 t2cc2_2/ exint5_3 a2 uart receive data input external interrupt input 5/t2ccu capture/compare channel 2 address line 2 output p5.3 13 pu exint1_0 txd_2 t2cc5_2 a3 external interrupt input 1 uart transmit data output/clock output compare output channel 5 address line 3 output p5.4 14 pu exint2_0 rxdo_2 t2cc4_2 a4 external interrupt input 2 uart transmit data output compare output channel 4 address line 4 output p5.5 15 pu tdo_1 txd1_2 t2cc0_2/ exint3_3 a5 jtag serial data output uart1 transmit data output/ clock output external interrupt input 3/t2ccu capture/compare channel 0 address line 5 output p5.6 19 pu tck_1 rxdo1_2 t2cc1_2/ exint4_3 a6 jtag clock input uart1 transmit data output external interrupt input 4/t2ccu capture/compare channel 1 address line 6 output table 2 pin definiti ons and functions (cont?d) symbol pin number (lqfp-64) type reset state function
xc858ca general device information data sheet 14 v1.0, 2010-03 p5.7 20 pu tdi_1 rxd1_2 t2cc3_2/ exint6_4 a7 jtag serial data input uart1 receive data input external interrupt input 6/t2ccu capture/compare channel 3 address line 7 output table 2 pin definiti ons and functions (cont?d) symbol pin number (lqfp-64) type reset state function
xc858ca general device information data sheet 15 v1.0, 2010-03 v ddp 7, 25, 55 ? ? i/o port supply ( 5.0 v) also used by evr and analog modules. all pins must be connected. v ssp 26, 54 ? ? i/o ground all pins must be connected. v ddc 6?? core supply monitor (2.5 v) v ssc 5?? core supply ground v aref 32 ? ? adc reference voltage v agnd 31 ? ? adc reference ground an0 22 i hi-z analog input 0 an1 23 i hi-z analog input 1 an2 24 i hi-z analog input 2 an3 27 i hi-z analog input 3 an4 28 i hi-z analog input 4 an5 29 i hi-z analog input 5 an6 30 i hi-z analog input 6 an7 33 i hi-z analog input 7 xtal1 4 i hi-z external oscillator input (feedback resistor required, normally nc) xtal2 3 o hi-z external oscillator output (feedback resistor required, normally nc) tms 16 i pd jtag test mode select reset 53 i pu reset input mbc 58 i pu monitor & bootstra p loader control tm 57 ? ? test mode (external pull down device required) nc 56 ? ? no connection table 2 pin definiti ons and functions (cont?d) symbol pin number (lqfp-64) type reset state function
xc858ca functional description data sheet 16 v1.0, 2010-03 3 functional description chapter 3 provides an overview of the xc858 functional description. 3.1 processor architecture the xc858 is based on a high -performance 8-bit central pr ocessing unit (cpu) that is compatible with the standar d 8051 processor. while t he standard 8051 processor is designed around a 12-clock machine cycle, the xc858 cpu uses a 2-clock machine cycle. this allows fast access to rom or ram memories without wait state. the instruction set consists of 45% one-byte, 41% two-byte and 14% three-byte instructions. the xc858 cpu provides a r ange of debugging features, including basic stop/start, single-step execution, break point support and r ead/write access to the data memory, program memory and special function registers (sfrs). figure 5 shows the cpu functional blocks. figure 5 cpu block diagram register interface alu uart core sfrs 16-bit registers & memory interface opcode decoder state machine & power saving interrupt controller multiplier / divider opcode & immediate registers timer 0 / timer 1 internal data memory external sfrs external data memory program memory f cclk memory wait reset legacy external interrupts (ien0, ien1) external interrupts non-maskable interrupt
xc858ca functional description data sheet 17 v1.0, 2010-03 3.2 memory organization the xc858 cpu operat es in the following address spaces: ? 8 kbytes of boot rom program memory ? 256 bytes of intern al ram data memory ? 3 kbytes of xram memory (xram can be read/written as program memory or exter nal data memory) ? a 128-byte special function register area ? 64/52/36 kbytes of flash prog ram memory (flash devices) figure 6 , figure 7 and figure 8 illustrates the memory address spaces of the xc858 with 64kbytes, 52kbytes and 36kbytes embedded flash respectively. figure 6 memory map of xc858 with 64k flash memory in user mode external external reserved data space 0' 0000 h xram 3 kbyte 0' ffff h f' f000 h f' fc00 h 1' 0000 h 1' ffff h 2' 0000 h 2' ffff h 3' 0000 h 3' ffff h 4' 0000 h 4' ffff h 5' 0000 h 5' ffff h 6' 0000 h 6' ffff h 7' 0000 h 7' ffff h 8' 0000 h 8' ffff h 9' 0000 h 9' ffff h a' 0000 h a' ffff h b' 0000 h b' ffff h c' 0000 h c' ffff h d' 0000 h d' ffff h e' 0000 h e' ffff h f' 0000 h f' ffff h external external 2' fe00 h reserved reserved reserved 2' c000 h 2' f000 h 2' fc00 h 2' fec0 h external external external 2' e000 h reserved 0' 0000 h 2' fe00 h p-flash 60 kbyte boot rom 8 kbyte xram 3 kbyte code space internal data space memor y map user mode d-flash 4 kbyte 0' ffff h reserved 0' f000 h 1' 0000 h 2' c000 h 2' f000 h 2' fc00 h 1' ffff h 2' 0000 h 2' ffff h 3' 0000 h 3' ffff h 4' 0000 h 4' ffff h 5' 0000 h 5' ffff h 6' 0000 h 6' ffff h 7' 0000 h 7' ffff h 8' 0000 h 8' ffff h 9' 0000 h 9' ffff h a' 0000 h a' ffff h b' 0000 h b' ffff h c' 0000 h c' ffff h d' 0000 h d' ffff h e' 0000 h e' ffff h f' 0000 h f' ffff h bank 1 bank 3 bank 4 bank 5 bank 6 bank 7 bank 8 bank 9 bank a bank b bank c bank d bank e bank 2 bank 0 2' fec0 h bank f reserved reserved reserved 2' e000 h extension stack ram memory extension stack pointer (mexsp) special function registers indirect address direct address 00 h internal ram 7f h internal ram 80 h ff h
xc858ca functional description data sheet 18 v1.0, 2010-03 figure 7 memory map of xc858 with 52k flash memory in user mode external reserved external external 0000 h f000 h c000 h e000 h fc00 h ffff h fe00 h reserved p-flash 48 kbyte d-flash 4 kbyte boot rom 8 kbyte xram 2 kbyte code space internal data space memory map user mode fec0 h extension stack ram memory extension stack pointer (mexsp) special function registers indirect address direct address 00 h internal ram 7f h internal ram 80 h ff h f000 h fc00 h 0000 h ffff h data space xram 2 kbyte reserved external fe00 h reserved fec0 h external c000 h reserved 1'0000 h f?ffff h 1'0000 h f?ffff h
xc858ca functional description data sheet 19 v1.0, 2010-03 figure 8 memory map of xc858 with 36k flash memory in user mode external reserved external external 0000 h f000 h c000 h e000 h fc00 h ffff h 8000 h fe00 h reserved p-flash 32 kbyte d-flash 4 kbyte boot rom 8 kbyte xram 2 kbyte code space internal data space memory map user mode fec0 h reserved extension stack ram memory extension stack pointer (mexsp) special function registers indirect address direct address 00 h internal ram 7f h internal ram 80 h ff h f000 h fc00 h 0000 h ffff h data space xram 2 kbyte reserved external fe00 h reserved fec0 h external external c000 h 8000 h reserved 1'0000 h f?ffff h 1'0000 h f?ffff h
xc858ca functional description data sheet 20 v1.0, 2010-03 3.2.1 memory protection strategy the xc858 memory protec tion strategy includes: ? basic protection: the user is able to block any extern al access via the boot option to any memory ? read-out protection: the user is able to protect the contents in the flash ? flash program and erase protection these protection strategies are enabled by programming a valid password (16-bit non- one value) via bootst rap loader (bsl) mode 6. 3.2.1.1 flash memory protection as long as a valid password is available, all external access to th e device, including the flash, will be blocked. for additional security, the flash hardware protection can be enabled to implement a second layer of read-out protection, as we ll as to enable progra m and erase protection. flash hardware protection is available only for flash devices and comes in two modes: ? mode 0: only the p-flash is prot ected; the d-flas h is unprotected ? mode 1: both the p-flash and d-flash are protected the selection of each prot ection mode and the restrictio ns imposed are summarized in table 3 . table 3 flash protection modes flash protection without hardware protection with hardware protection hardware protection mode -01 activation program a valid passwo rd via bsl mode 6 selection bit 13 of password = 0 bit 13 of password = 1 msb of password = 0 bit 13 of password = 1 msb of password = 1 p-flash contents can be read by read instructions in any program memory read instructions in the p-flash read instructions in the p-flash or d- flash external access to p- flash not possible not possible not possible
xc858ca functional description data sheet 21 v1.0, 2010-03 bsl mode 6, which is used for enabling flash protection, can also be used for disabling flash protection. here, the programmed password must be provided by the user. to disable the flash protection, a password match is required. a password match triggers an automatic erase of the protected p-flash and d- flash contents, including the programmed password. with a valid passwor d, the flash hardware protection is then enabled or disabled upon next reset. for the other protec tion strategies, no reset is necessary. although no protection scheme can be c onsidered infallible, the xc858 memory protection strategy provides a very high level of protec tion for a general purpose microcontroller. p-flash program and erase possible possible only on the condition that msb - 1 of password is set to 1 possible only on the condition that msb - 1 of password is set to 1 d-flash contents can be read by read instructions in any program memory read instructions in any program memory read instructions in the p-flash or d- flash external access to d- flash not possible not possible not possible d-flash program possible possible possible, on the condition that msb - 1 of password is set to 1 d-flash erase possible possible, on these conditions: ? misc_con.dflash en bit is set to 1 prior to each erase operation; or ? the msb - 1 of password is set to 1 possible, on the condition that msb - 1 of password is set to 1 table 3 flash protection modes (cont?d) flash protection without hardware protection with hardware protection
xc858ca functional description data sheet 22 v1.0, 2010-03 3.2.2 special function register the special function regi sters (sfrs) occupy direct inte rnal data memory space in the range 80 h to ff h . all registers, except the program co unter, reside in the sfr area. the sfrs include pointers and r egisters that provide an inte rface between t he cpu and the on-chip peripherals. as the 128-sfr range is less than th e total number of registers required, address extension mechanisms ar e required to increa se the number of addressable sfrs. t he address extension mechanisms include: ? mapping ?paging 3.2.2.1 address extension by mapping address extension is performed at the syst em level by mapping. the sfr area is extended into two portions: the standard (non-mapped) sf r area and the mapped sfr area. each portion supports the same address range 80 h to ff h , bringing the number of addressable sfrs to 256. t he extended address rang e is not directly controlled by the cpu instruction itself, but is derived from bi t rmap in the system control register syscon0 at address 8f h . to access sfrs in the mapped area, bit rmap in sfr syscon0 must be set. alternatively, the sfrs in the standar d area can be accessed by clearing bit rmap. the sfr area can be selected as shown in figure 9 . as long as bit rmap is set, the mapped sfr area can be accessed. this bit is not cleared automatically by hardware. thus , before standard/ma pped registers are accessed, bit rmap must be cleared/set, resp ectively, by software.
xc858ca functional description data sheet 23 v1.0, 2010-03 figure 9 address extension by mapping module 1 sfrs ?... syscon0.rmap sfr data (to/from cpu) rw standard area (rmap = 0) ?... 80 h ff h 80 h ff h direct internal data memory address mapped area (rmap = 1) module 2 sfrs module n sfrs module (n+1) sfrs module (n+2) sfrs module m sfrs
xc858ca functional description data sheet 24 v1.0, 2010-03 note: the rmap bit should be cl eared/set by anl or orl in structions.the rest bits of syscon0 should no t be modified. 3.2.2.2 address extension by paging address extension is further performed at the m odule level by paging. with the address extension by mapping, the xc 858 has a 256-sfr address r ange. however, this is still less than the total number of sfrs needed by the on-chi p peripherals. to meet this requirement, some peripherals have a built-i n local address extens ion mechanism for increasing the number of addressable sfrs. the extend ed address range is not directly controlled by the cpu instruction itself, but is derived from bit fi eld page in the module page register mod_page. hence, the bi t field page must be programmed before accessing the sfr of the target module. each module may contai n a different number of pages and a different number of sf rs per page, dependi ng on the specific requirement. besides setting the correct rmap bit value to select the sfr area, the user must also ensure that a valid page is select ed to target the desired sfr. a page inside the extended address range can be select ed as shown in figure 10 . syscon0 system control register 0 reset value: 04 h 76543210 0 imode 0 1 0 rmap r rwrrrrw field bits type description rmap 0rw interrupt node xintr0 enable 0 the access to the st andard sfr area is enabled 1 the access to the m apped sfr area is enabled 1 2r reserved returns 1 if re ad; should be written with 1. 0 [7:5], 3,1 r reserved returns 0 if re ad; should be written with 0.
xc858ca functional description data sheet 25 v1.0, 2010-03 figure 10 address extension by paging in order to access a register located in a pag e different from the actual o ne, the current page must be exited. this is done by reprog ramming the bit fi eld page in the page register. only then can th e desired access be performed. if an interrupt routine is initiated be tween the page register access and the module register access, and t he interrupt needs to access a regist er located in another page, the current page setting can be saved, the new one programm ed and the old page setting restored. this is possible with the storage fields stx (x = 0 - 3) for the save and restore action of the current page setting. by indicating which st orage bit field should be used in parallel with t he new page value, a sing le write operation can: ? save the contents of page in stx be fore overwriting with the new value (this is done in th e beginning of the interrupt routi ne to save the current page setting and program the new page number); or sfr0 sfr1 sfrx ?... page 0 sfr0 sfr1 sfry ?... page 1 ?... sfr0 sfr1 sfrz ?... page q mod_page.page sfr address (from cpu) sfr data (to/from cpu) rw module
xc858ca functional description data sheet 26 v1.0, 2010-03 ? overwrite the contents of page with the co ntents of stx, ignori ng the value written to the bit positions of page (this is done at the end of the interrupt ro utine to restore the previous page setting before the interrupt occurred) figure 11 storage elements for paging with this mechanism, a certain number of interrupt routines (or other routines) can perform page changes without reading and stor ing the previously used page information. the use of only write oper ations makes the system simp ler and faster. consequently, this mechanism significantly improves the performance of short interrupt routines. the xc858 supports loca l address ex tension for: ? parallel ports ? analog-to-digital converter (adc) ? system control registers page st0 st1 st2 st3 value update from cpu stnr
xc858ca functional description data sheet 27 v1.0, 2010-03 the page register has th e following definition: mod_page page register for modu le mod reset value: 00 h 76543210 op stnr 0 page wwrrw field bits type description page [2:0] rw page bits when written, the value indicates the new page. when read, the value indica tes the currently active page. stnr [5:4] w storage number this number indicates whic h storage bit field is the target of the operation defined by bit field op. if op = 10 b , the contents of page are saved in stx before being overwritten with the new value. if op = 11 b , the contents of page are overwritten by the contents of stx. the value written to the bit positions of page is ignored. 00 st0 is selected. 01 st1 is selected. 10 st2 is selected. 11 st3 is selected.
xc858ca functional description data sheet 28 v1.0, 2010-03 3.2.3 bit protection scheme the bit protection scheme prevents direct software wr iting of selected bi ts (i.e., protected bits) using the passwd re gister. when the bi t field mode is 11 b , writing 10011 b to the bit field pass opens access to writing of all protect ed bits, and writing 10101 b to the bit field pass closes access to writing of all prot ected bits. in both case s, the value of the bit field mode is not changed even if passwd regi ster is written with 98 h or a8 h . it can only be changed wh en bit field pass is written with 11000 b , for example, writing d0 h to passwd register disables th e bit protec tion scheme. note that access is opened fo r maximum 32 cclks if the ?clo se access? password is not written. if ?open access? password is wr itten again before the end of 32 cclk cycles, there will be a recount of 32 cclk cycles. the protecte d bits include the n- and k- divider bits, ndiv and kdiv; the watchdog timer enable bit, wdten; and the power- down and slow-down en able bits, pd and sd. op [7:6] w operation 0x manual page mode. th e value of stnr is ignored and page is directly written. 10 new page programming with automatic page saving. the value written to the bit positions of page is stored. in pa rallel, the previous contents of page are save d in the storage bit field stx indicated by stnr. 11 automatic restore page action. the value written to the bit positions page is ignored and instead, page is overwritten by the contents of the storage bit field stx indicated by stnr. 0 3r reserved returns 0 if re ad; should be written with 0. field bits type description
xc858ca functional description data sheet 29 v1.0, 2010-03 3.2.3.1 password register passwd password register reset value: 07 h 76543210 pass protect _s mode wrhrw field bits type description mode [1:0] rw bit protection scheme control bits 00 scheme disabled - di rect access to the protected bits is allowed. 11 scheme enabled - the bi t field pass has to be written with the passwor ds to open and close the access to prot ected bits. (default) others:scheme enabled. these two bits cannot be written directly. to change the value between 11 b and 00 b , the bit field pass must be written with 11000 b ; only then, will the mode[1:0] be registered. protect_s 2rh bit protection signal status bit this bit shows the stat us of the protection. 0 software is able to writ e to all protected bits. 1 software is unable to write to any protected bits. pass [7:3] w password bits the bit protection scheme only reco gnizes three patterns. 11000 b enables writing of the bit field mode. 10011 b opens access to writing of all protected bits. 10101 b closes access to writin g of all protected bits
xc858ca functional description data sheet 30 v1.0, 2010-03 3.2.4 xc858 register overview the sfrs of the xc858 are organized into group s according to their functional units. the contents (bits) of the sfrs are summarized in chapter 3.2.4.1 to chapter 3.2.4.12 . note: the addresses of th e bitaddressable sfrs ap pear in bold typeface. 3.2.4.1 cpu registers the cpu sfrs can be accessed in both the standard and ma pped memory areas (rmap = 0 or 1). table 4 cpu register overview addr register name bit 7 6 5 4 3 2 1 0 rmap = 0 or 1 81 h sp reset: 07 h stack pointer register bit field sp type rw 82 h dpl reset: 00 h data pointer register low bit field dpl7 dpl6 dpl5 dpl4 dpl3 dpl2 dpl1 dpl0 type rw rw rw rw rw rw rw rw 83 h dph reset: 00 h data pointer register high bit field dph7 dph6 dph5 dph4 dph3 dph2 dph1 dph0 type rw rw rw rw rw rw rw rw 87 h pcon reset: 00 h power control register bit field smod 0 gf1 gf0 0 idle type rw r rw rw r rw 88 h tcon reset: 00 h timer control register bit field tf1 tr1 tf0 tr0 ie1 it1 ie0 it0 type rwh rw rwh rw rwh rw rwh rw 89 h tmod reset: 00 h timer mode register bit field gate 1 t1s t1m gate 0 t0s t0m type rw rw rw rw rw rw 8a h tl0 reset: 00 h timer 0 register low bit field val type rwh 8b h tl1 reset: 00 h timer 1 register low bit field val type rwh 8c h th0 reset: 00 h timer 0 register high bit field val type rwh 8d h th1 reset: 00 h timer 1 register high bit field val type rwh 94 h mex1 reset: 00 h memory extension register 1 bit field cb nb type r rw 95 h mex2 reset: 00 h memory extension register 2 bit field mcm mcb ib type rw rw rw 96 h mex3 reset: 00 h memory extension register 3 bit field mcb1 9 0 mxb1 9 mxm mxb type rw r rw rw rw
xc858ca functional description data sheet 31 v1.0, 2010-03 3.2.4.2 system control registers the system control sfrs can be accessed in the mapped memory area (rmap = 0). 97 h mexsp reset: 7f h memory extension stack pointer register bit field 0 mxsp type r rwh 98 h scon reset: 00 h serial channel control register bit field sm0 sm1 sm2 ren tb8 rb8 ti ri type rw rw rw rw rw rwh rwh rwh 99 h sbuf reset: 00 h serial data buffer register bit field val type rwh a2 h eo reset: 00 h extended operation register bit field 0 trap_ en 0 dpse l0 type r rw r rw a8 h ien0 reset: 00 h interrupt enable register 0 bit field ea 0 et2 es et1 ex1 et0 ex0 type rw r rwrwrwrwrwrw b8 h ip reset: 00 h interrupt priority register bit field 0 pt2 ps pt1 px1 pt0 px0 type r rwrwrwrwrwrw b9 h iph reset: 00 h interrupt priority high register bit field 0 pt2h psh pt1h px1h pt0h px0h type r rwrwrwrwrwrw d0 h psw reset: 00 h program status word register bit field cy ac f0 rs1 rs0 ov f1 p type rwh rwh rw rw rw rwh rw rh e0 h acc reset: 00 h accumulator register bit field acc7 acc6 acc5 acc4 acc3 acc2 acc1 acc0 type rw rw rw rw rw rw rw rw e8 h ien1 reset: 00 h interrupt enable register 1 bit field eccip 3 eccip 2 eccip 1 eccip 0 exm ex2 essc eadc type rw rw rw rw rw rw rw rw f0 h b reset: 00 h b register bit field b7 b6 b5 b4 b3 b2 b1 b0 type rw rw rw rw rw rw rw rw f8 h ip1 reset: 00 h interrupt priority 1 register bit field pccip 3 pccip 2 pccip 1 pccip 0 pxm px2 pssc padc type rw rw rw rw rw rw rw rw f9 h iph1 reset: 00 h interrupt priority 1 high register bit field pccip 3h pccip 2h pccip 1h pccip 0h pxmh px2h pssc h padc h type rw rw rw rw rw rw rw rw table 5 scu register overview addr register name bit 7 6 5 4 3 2 1 0 rmap = 0 or 1 8f h syscon0 reset: 04 h system control register 0 bit field 0 imod e 0 1 0 rmap type r rw r r r rw table 4 cpu register overview (cont?d) addr register name bit 7 6 5 4 3 2 1 0
xc858ca functional description data sheet 32 v1.0, 2010-03 rmap = 0 bf h scu_page reset: 00 h page register bit field op stnr 0 page type w w r rwh rmap = 0, page 0 b3 h modpisel reset: 00 h peripheral input select register bit field 0 urris h jtagt dis jtagt cks exint 2is exint 1is exint 0is urris type r rwrwrwrwrwrwrw b4 h ircon0 reset: 00 h interrupt request register 0 bit field 0 exint 6 exint 5 exint 4 exint 3 exint 2 exint 1 exint 0 type r rwh rwh rwh rwh rwh rwh rwh b5 h ircon1 reset: 00 h interrupt request register 1 bit field 0 cans rc2 cans rc1 adcs r1 adcs r0 rir tir eir type r rwh rwh rwh rwh rwh rwh rwh b6 h ircon2 reset: 00 h interrupt request register 2 bit field 0 cans rc3 0 cans rc0 type rrwhrrwh b7 h exicon0 reset: f0 h external interrupt control register 0 bit field exint3 exint2 exint1 exint0 type rw rw rw rw ba h exicon1 reset: 3f h external interrupt control register 1 bit field 0 exint6 exint5 exint4 typer rwrwrw bb h nmicon reset: 00 h nmi control register bit field 0 nmi ecc nmi vddp 0 nmi ocds nmi flash nmi pll nmi wdt type r rw rw r rw rw rw rw bc h nmisr reset: 00 h nmi status register bit field 0 fnmi ecc fnmi vddp 0 fnmi ocds fnmi flash fnmi pll fnmi wdt type r rwh rwh r rwh rwh rwh rwh bd h bcon reset: 20 h baud rate control register bit field bgsel ndov en brdis brpre r type rw rw rw rw rw be h bg reset: 00 h baud rate timer/reload register bit field br_value type rwh e9 h fdcon reset: 00 h fractional divider control register bit field bgs syne n errs yn eofs yn brk ndov fdm fden type rw rw rwh rwh rwh rwh rw rw ea h fdstep reset: 00 h fractional divider reload register bit field step type rw eb h fdres reset: 00 h fractional divider result register bit field result type rh rmap = 0, page 1 table 5 scu register overview (cont?d) addr register name bit 7 6 5 4 3 2 1 0
xc858ca functional description data sheet 33 v1.0, 2010-03 b3 h id reset: 49 h identity register bit field prodid verid type r r b4 h pmcon0 reset: 80 h power mode control register 0 bit field vddp warn wdt rst wkrs wk sel sd pd ws type rh rwh rwh rw rw rwh rw b5 h pmcon1 reset: 00 h power mode control register 1 bit field 0 can_ dis 0 t2cc u_dis 0 ssc_ dis adc_ dis type r rw r rw r rw rw b6 h osc_con reset: xx h osc control register bit field pllrd res pllby p pllpd 0 xpd osc ss eord res exto scr type rwh rwh rw r rw rwh rwh rh b7 h pll_con reset: 18 h pll control register bit field ndiv pllr pll_l ock type rw rh rh ba h cmcon reset: 10 h clock control register bit field kdiv 0 fccf g clkrel type rw r rw rw bb h passwd reset: 07 h password register bit field pass prot ect_s mode type w rh rw be h cocon reset: 00 h clock output control register bit field couts tlen 0 corel type rw rw r rw e9 h misc_con reset: 00 h miscellaneous control register bit field adce tr0_ mux adce tr1_ mux 0 dflas hen type rw rw r rwh ea h pll_con1 reset: 20 h pll control register 1 bit field ndiv pdiv type rw rw eb h cr_misc reset: 00 h or 01 h reset status register bit field 0 t2ccf g 0 hdrs t type r rw r rwh rmap = 0, page 3 b3 h xaddrh reset: f0 h on-chip xram address higher order bit field addrh type rw b4 h ircon3 reset: 00 h interrupt request register 3 bit field 0 cans rc5 0 cans rc4 0 type r rwh r rwh r b5 h ircon4 reset: 00 h interrupt request register 4 bit field 0 cans rc7 0 cans rc6 0 type r rwh r rwh r b6 h modien reset: 07 h peripheral interrupt enable register bit field 0 cm5e n cm4e n riren tiren eiren type r rw rw rw rw rw table 5 scu register overview (cont?d) addr register name bit 7 6 5 4 3 2 1 0
xc858ca functional description data sheet 34 v1.0, 2010-03 3.2.4.3 wdt registers the wdt sfrs can be accessed in the mapped memory area (rmap = 1). 3.2.4.4 port registers the port sfrs can be accessed in the standard memory area (rmap = 0). b7 h modpisel1 reset: 00 h peripheral input select register 1 bit field exint6is ur1ris t21ex is 0 type rw rw rw r ba h modpisel2 reset: 00 h peripheral input select register 2 bit field 0 t2exi s t21is t2is t1is t0is type r rw rw rw rw rw bb h pmcon2 reset: 00 h power mode control register 2 bit field 0 uart 1_dis t21_d is type r rw rw bd h modsusp reset: 01 h module suspend control register bit field 0 ccts usp t21su sp t2sus p 0 wdts usp type r rw rw rw r rw be h modpisel3 reset: 00 h peripheral input select register 3 bit field 0 cis sis mis typer rwrwrw ea h modpisel4 reset: 00 h peripheral input select register 4 bit field 0 exint5is exint4is exint3is typer rwrwrw table 6 wdt register overview addr register name bit 7 6 5 4 3 2 1 0 rmap = 1 bb h wdtcon reset: 00 h watchdog timer control register bit field 0 winb en wdtp r 0 wdte n wdtr s wdti n type r rw rh r rw rwh rw bc h wdtrel reset: 00 h watchdog timer reload register bit field wdtrel type rw bd h wdtwinb reset: 00 h watchdog window-boundary count register bit field wdtwinb type rw be h wdtl reset: 00 h watchdog timer register low bit field wdt type rh bf h wdth reset: 00 h watchdog timer register high bit field wdt type rh table 5 scu register overview (cont?d) addr register name bit 7 6 5 4 3 2 1 0
xc858ca functional description data sheet 35 v1.0, 2010-03 table 7 port register overview addr register name bit 7 6 5 4 3 2 1 0 rmap = 0 b2 h port_page reset: 00 h page register bit field op stnr 0 page type w w r rwh rmap = 0, page 0 80 h p0_data reset: 00 h p0 data register bit field p7 p6 p5 p4 p3 p2 p1 p0 type rwhrwhrwhrwhrwhrwhrwhrwh 86 h p0_dir reset: 00 h p0 direction register bit field p7 p6 p5 p4 p3 p2 p1 p0 type rw rw rw rw rw rw rw rw 90 h p1_data reset: 00 h p1 data register bit field p7 p6 p5 p4 p3 p2 p1 p0 type rwhrwhrwhrwhrwhrwhrwhrwh 91 h p1_dir reset: 00 h p1 direction register bit field p7 p6 p5 p4 p3 p2 p1 p0 type rw rw rw rw rw rw rw rw 92 h p5_data reset: 00 h p5 data register bit field p7 p6 p5 p4 p3 p2 p1 p0 type rwhrwhrwhrwhrwhrwhrwhrwh 93 h p5_dir reset: 00 h p5 direction register bit field p7 p6 p5 p4 p3 p2 p1 p0 type rw rw rw rw rw rw rw rw b0 h p3_data reset: 00 h p3 data register bit field p7 p6 p5 p4 p3 p2 p1 p0 type rwhrwhrwhrwhrwhrwhrwhrwh b1 h p3_dir reset: 00 h p3 direction register bit field p7 p6 p5 p4 p3 p2 p1 p0 type rw rw rw rw rw rw rw rw c8 h p4_data reset: 00 h p4 data register bit field p7 p6 p5 p4 p3 p2 p1 p0 type rwhrwhrwhrwhrwhrwhrwhrwh c9 h p4_dir reset: 00 h p4 direction register bit field p7 p6 p5 p4 p3 p2 p1 p0 type rw rw rw rw rw rw rw rw rmap = 0, page 1 80 h p0_pudsel reset: ff h p0 pull-up/pull-down select register bit field p7 p6 p5 p4 p3 p2 p1 p0 type rw rw rw rw rw rw rw rw 86 h p0_puden reset: c4 h p0 pull-up/pull- down enable register bit field p7 p6 p5 p4 p3 p2 p1 p0 type rw rw rw rw rw rw rw rw 90 h p1_pudsel reset: ff h p1 pull-up/pull-down select register bit field p7 p6 p5 p4 p3 p2 p1 p0 type rw rw rw rw rw rw rw rw 91 h p1_puden reset: ff h p1 pull-up/pull- down enable register bit field p7 p6 p5 p4 p3 p2 p1 p0 type rw rw rw rw rw rw rw rw 92 h p5_pudsel reset: ff h p5 pull-up/pull-down select register bit field p7 p6 p5 p4 p3 p2 p1 p0 type rw rw rw rw rw rw rw rw 93 h p5_puden reset: ff h p5 pull-up/pull- down enable register bit field p7 p6 p5 p4 p3 p2 p1 p0 type rw rw rw rw rw rw rw rw
xc858ca functional description data sheet 36 v1.0, 2010-03 b0 h p3_pudsel reset: bf h p3 pull-up/pull-down select register bit field p7 p6 p5 p4 p3 p2 p1 p0 type rw rw rw rw rw rw rw rw b1 h p3_puden reset: 40 h p3 pull-up/pull- down enable register bit field p7 p6 p5 p4 p3 p2 p1 p0 type rw rw rw rw rw rw rw rw c8 h p4_pudsel reset: ff h p4 pull-up/pull-down select register bit field p7 p6 p5 p4 p3 p2 p1 p0 type rw rw rw rw rw rw rw rw c9 h p4_puden reset: 04 h p4 pull-up/pull- down enable register bit field p7 p6 p5 p4 p3 p2 p1 p0 type rw rw rw rw rw rw rw rw rmap = 0, page 2 80 h p0_altsel0 reset: 00 h p0 alternate select 0 register bit field p7 p6 p5 p4 p3 p2 p1 p0 type rw rw rw rw rw rw rw rw 86 h p0_altsel1 reset: 00 h p0 alternate select 1 register bit field p7 p6 p5 p4 p3 p2 p1 p0 type rw rw rw rw rw rw rw rw 90 h p1_altsel0 reset: 00 h p1 alternate select 0 register bit field p7 p6 p5 p4 p3 p2 p1 p0 type rw rw rw rw rw rw rw rw 91 h p1_altsel1 reset: 00 h p1 alternate select 1 register bit field p7 p6 p5 p4 p3 p2 p1 p0 type rw rw rw rw rw rw rw rw 92 h p5_altsel0 reset: 00 h p5 alternate select 0 register bit field p7 p6 p5 p4 p3 p2 p1 p0 type rw rw rw rw rw rw rw rw 93 h p5_altsel1 reset: 00 h p5 alternate select 1 register bit field p7 p6 p5 p4 p3 p2 p1 p0 type rw rw rw rw rw rw rw rw b0 h p3_altsel0 reset: 00 h p3 alternate select 0 register bit field p7 p6 p5 p4 p3 p2 p1 p0 type rw rw rw rw rw rw rw rw b1 h p3_altsel1 reset: 00 h p3 alternate select 1 register bit field p7 p6 p5 p4 p3 p2 p1 p0 type rw rw rw rw rw rw rw rw c8 h p4_altsel0 reset: 00 h p4 alternate select 0 register bit field p7 p6 p5 p4 p3 p2 p1 p0 type rw rw rw rw rw rw rw rw c9 h p4_altsel1 reset: 00 h p4 alternate select 1 register bit field p7 p6 p5 p4 p3 p2 p1 p0 type rw rw rw rw rw rw rw rw rmap = 0, page 3 80 h p0_od reset: 00 h p0 open drain control register bit field p7 p6 p5 p4 p3 p2 p1 p0 type rw rw rw rw rw rw rw rw 86 h p0_ds reset: ff h p0 drive strength control register bit field p7 p6 p5 p4 p3 p2 p1 p0 type rw rw rw rw rw rw rw rw 90 h p1_od reset: 00 h p1 open drain control register bit field p7 p6 p5 p4 p3 p2 p1 p0 type rw rw rw rw rw rw rw rw table 7 port register overview (cont?d) addr register name bit 7 6 5 4 3 2 1 0
xc858ca functional description data sheet 37 v1.0, 2010-03 3.2.4.5 adc registers the adc sfrs can be accessed in t he standard memory area (rmap = 0). 91 h p1_ds reset: ff h p1 drive strength control register bit field p7 p6 p5 p4 p3 p2 p1 p0 type rw rw rw rw rw rw rw rw 92 h p5_od reset: 00 h p5 open drain control register bit field p7 p6 p5 p4 p3 p2 p1 p0 type rw rw rw rw rw rw rw rw 93 h p5_ds reset: ff h p5 drive strength control register bit field p7 p6 p5 p4 p3 p2 p1 p0 type rw rw rw rw rw rw rw rw b0 h p3_od reset: 00 h p3 open drain control register bit field p7 p6 p5 p4 p3 p2 p1 p0 type rw rw rw rw rw rw rw rw b1 h p3_ds reset: ff h p3 drive strength control register bit field p7 p6 p5 p4 p3 p2 p1 p0 type rw rw rw rw rw rw rw rw c8 h p4_od reset: 00 h p4 open drain control register bit field p7 p6 p5 p4 p3 p2 p1 p0 type rw rw rw rw rw rw rw rw c9 h p4_ds reset: ff h p4 drive strength control register bit field p7 p6 p5 p4 p3 p2 p1 p0 type rw rw rw rw rw rw rw rw table 8 adc register overview addrregister name bit 76543210 rmap = 0 d1 h adc_page reset: 00 h page register bit field op stnr 0 page type w w r rw rmap = 0, page 0 ca h adc_globctr reset: 30 h global control register bit field anon dw ctc 0 type rw rw rw r cb h adc_globstr reset: 00 h global status register bit field 0 chnr 0 samp le busy type r rh r rh rh cc h adc_prar reset: 00 h priority and arbitration register bit field asen 1 asen 0 0 arbm csm1 prio1 csm0 prio0 type rw rw r rw rw rw rw rw cd h adc_lcbr reset: b7 h limit check boundary register bit field bound1 bound0 type rw rw ce h adc_inpcr0 reset: 00 h input class 0 register bit field stc type rw table 7 port register overview (cont?d) addr register name bit 7 6 5 4 3 2 1 0
xc858ca functional description data sheet 38 v1.0, 2010-03 cf h adc_etrcr reset: 00 h external trigger control register bit field syne n1 syne n0 etrsel1 etrsel0 type rw rw rw rw rmap = 0, page 1 ca h adc_chctr0 reset: 00 h channel control register 0 bit field 0 lcc 0 resrsel type r rw r rw cb h adc_chctr1 reset: 00 h channel control register 1 bit field 0 lcc 0 resrsel type r rw r rw cc h adc_chctr2 reset: 00 h channel control register 2 bit field 0 lcc 0 resrsel type r rw r rw cd h adc_chctr3 reset: 00 h channel control register 3 bit field 0 lcc 0 resrsel type r rw r rw ce h adc_chctr4 reset: 00 h channel control register 4 bit field 0 lcc 0 resrsel type r rw r rw cf h adc_chctr5 reset: 00 h channel control register 5 bit field 0 lcc 0 resrsel type r rw r rw d2 h adc_chctr6 reset: 00 h channel control register 6 bit field 0 lcc 0 resrsel type r rw r rw d3 h adc_chctr7 reset: 00 h channel control register 7 bit field 0 lcc 0 resrsel type r rw r rw rmap = 0, page 2 ca h adc_resr0l reset: 00 h result register 0 low bit field result 0 vf drc chnr type rh r rh rh rh cb h adc_resr0h reset: 00 h result register 0 high bit field result type rh cc h adc_resr1l reset: 00 h result register 1 low bit field result 0 vf drc chnr type rh r rh rh rh cd h adc_resr1h reset: 00 h result register 1 high bit field result type rh ce h adc_resr2l reset: 00 h result register 2 low bit field result 0 vf drc chnr type rh r rh rh rh cf h adc_resr2h reset: 00 h result register 2 high bit field result type rh d2 h adc_resr3l reset: 00 h result register 3 low bit field result 0 vf drc chnr type rh r rh rh rh d3 h adc_resr3h reset: 00 h result register 3 high bit field result type rh rmap = 0, page 3 table 8 adc register overview (cont?d) addrregister name bit 76543210
xc858ca functional description data sheet 39 v1.0, 2010-03 ca h adc_resra0l reset: 00 h result register 0, view a low bit field result vf drc chnr type rh rh rh rh cb h adc_resra0h reset: 00 h result register 0, view a high bit field result type rh cc h adc_resra1l reset: 00 h result register 1, view a low bit field result vf drc chnr type rh rh rh rh cd h adc_resra1h reset: 00 h result register 1, view a high bit field result type rh ce h adc_resra2l reset: 00 h result register 2, view a low bit field result vf drc chnr type rh rh rh rh cf h adc_resra2h reset: 00 h result register 2, view a high bit field result type rh d2 h adc_resra3l reset: 00 h result register 3, view a low bit field result vf drc chnr type rh rh rh rh d3 h adc_resra3h reset: 00 h result register 3, view a high bit field result type rh rmap = 0, page 4 ca h adc_rcr0 reset: 00 h result control register 0 bit field vfct r wfr 0 ien 0 drct r type rw rw r rw r rw cb h adc_rcr1 reset: 00 h result control register 1 bit field vfct r wfr 0 ien 0 drct r type rw rw r rw r rw cc h adc_rcr2 reset: 00 h result control register 2 bit field vfct r wfr 0 ien 0 drct r type rw rw r rw r rw cd h adc_rcr3 reset: 00 h result control register 3 bit field vfct r wfr 0 ien 0 drct r type rw rw r rw r rw ce h adc_vfcr reset: 00 h valid flag clear register bit field 0 vfc3 vfc2 vfc1 vfc0 type r w w w w rmap = 0, page 5 ca h adc_chinfr reset: 00 h channel interrupt flag register bit field chinf 7 chinf 6 chinf 5 chinf 4 chinf 3 chinf 2 chinf 1 chinf 0 type rh rh rh rh rh rh rh rh cb h adc_chincr reset: 00 h channel interrupt clear register bit field chinc 7 chinc 6 chinc 5 chinc 4 chinc 3 chinc 2 chinc 1 chinc 0 typewwwwwwww cc h adc_chinsr reset: 00 h channel interrupt set register bit field chins 7 chins 6 chins 5 chins 4 chins 3 chins 2 chins 1 chins 0 typewwwwwwww table 8 adc register overview (cont?d) addrregister name bit 76543210
xc858ca functional description data sheet 40 v1.0, 2010-03 cd h adc_chinpr reset: 00 h channel interrupt node pointer register bit field chinp 7 chinp 6 chinp 5 chinp 4 chinp 3 chinp 2 chinp 1 chinp 0 type rw rw rw rw rw rw rw rw ce h adc_evinfr reset: 00 h event interrupt flag register bit field evinf 7 evinf 6 evinf 5 evinf 4 0 evinf 1 evinf 0 type rh rh rh rh r rh rh cf h adc_evincr reset: 00 h event interrupt clear flag register bit field evinc 7 evinc 6 evinc 5 evinc 4 0 evinc 1 evinc 0 typewwww r ww d2 h adc_evinsr reset: 00 h event interrupt set flag register bit field evins 7 evins 6 evins 5 evins 4 0 evins 1 evins 0 typewwww r ww d3 h adc_evinpr reset: 00 h event interrupt node pointer register bit field evinp 7 evinp 6 evinp 5 evinp 4 0 evinp 1 evinp 0 type rw rw rw rw r rw rw rmap = 0, page 6 ca h adc_crcr1 reset: 00 h conversion request control register 1 bit field ch7 ch6 ch5 ch4 0 type rwh rwh rwh rwh r cb h adc_crpr1 reset: 00 h conversion request pending register 1 bit field chp7 chp6 chp5 chp4 0 type rwh rwh rwh rwh r cc h adc_crmr1 reset: 00 h conversion request mode register 1 bit field rsv ldev clrp nd scan ensi entr 0 engt type r w w rw rw rw r rw cd h adc_qmr0 reset: 00 h queue mode register 0 bit field cev trev flus h clrv 0 entr 0 engt typewwww rrwrrw ce h adc_qsr0 reset: 20 h queue status register 0 bit field rsv 0 empt y ev 0 fill type r r rh rh r rh cf h adc_q0r0 reset: 00 h queue 0 register 0 bit field extr ensi rf v 0 reqchnr type rh rh rh rh r rh d2 h adc_qbur0 reset: 00 h queue backup register 0 bit field extr ensi rf v 0 reqchnr type rh rh rh rh r rh d2 h adc_qinr0 reset: 00 h queue input register 0 bit field extr ensi rf 0 reqchnr typewww r w table 8 adc register overview (cont?d) addrregister name bit 76543210
xc858ca functional description data sheet 41 v1.0, 2010-03 3.2.4.6 timer 2 compare/capture unit registers the timer 2 compare/capture unit sfrs can be accessed in the standard memory area (rmap = 0). table 9 t2ccu register overview addr register name bit 7 6 5 4 3 2 1 0 rmap = 0 c7 h t2_page reset: 00 h page register bit field op stnr 0 page type w w r rwh rmap = 0, page 0 c0 h t2_t2con reset: 00 h timer 2 control register bit field tf2 exf2 0 exen 2 tr2 c/t2 cp/ rl2 type rwh rwh r rw rwh rw rw c1 h t2_t2mod reset: 00 h timer 2 mode register bit field t2re gs t2rh en edge sel pren t2pre dcen type rw rw rw rw rw rw c2 h t2_rc2l reset: 00 h timer 2 reload/capture register low bit field rc2 type rwh c3 h t2_rc2h reset: 00 h timer 2 reload/capture register high bit field rc2 type rwh c4 h t2_t2l reset: 00 h timer 2 register low bit field thl2 type rwh c5 h t2_t2h reset: 00 h timer 2 register high bit field thl2 type rwh c6 h t2_t2con1 reset: 03 h timer 2 control register 1 bit field 0 tf2en exf2e n type r rw rw rmap = 0, page 1 c0 h t2ccu_ccen reset: 00 h t2ccu capture/compare enable register bit field ccm3 ccm2 ccm1 ccm0 type rw rw rw rw c1 h t2ccu_cctbselreset: 00 h t2ccu capture/compare time base select register bit field casc cctt ov cctb 5 cctb 4 cctb 3 cctb 2 cctb 1 cctb 0 type rwrwhrwrwrwrwrwrw c2 h t2ccu_cctrellreset: 00 h t2ccu capture/compare timer reload register low bit field cctrel type rw c3 h t2ccu_cctrelhreset: 00 h t2ccu capture/compare timer reload register high bit field cctrel type rw c4 h t2ccu_cctl reset: 00 h t2ccu capture/compare timer register low bit field cct type rwh
xc858ca functional description data sheet 42 v1.0, 2010-03 c5 h t2ccu_ccth reset: 00 h t2ccu capture/compare timer register high bit field cct type rwh c6 h t2ccu_cctcon reset: 00 h t2ccu captureccompare timer control register bit field cctpre ccto vf ccto ven timsy n ccts t type rw rwh rw rw rw rmap = 0, page 2 c0 h t2ccu_coshdwreset: 00 h t2ccu capture/compare enable register bit field ensh dw txov coou t5 coou t4 coou t3 coou t2 coou t1 coou t0 type rwh rwh rwh rwh rwh rwh rwh rwh c1 h t2ccu_cc0l reset: 00 h t2ccu capture/compare register 0 low bit field ccvall type rwh c2 h t2ccu_cc0h reset: 00 h t2ccu capture/compare register 0 high bit field ccvalh type rwh c3 h t2ccu_cc1l reset: 00 h t2ccu capture/compare register 1 low bit field ccvall type rwh c4 h t2ccu_cc1h reset: 00 h t2ccu capture/compare register 1 high bit field ccvalh type rwh c5 h t2ccu_cc2l reset: 00 h t2ccu capture/compare register 2 low bit field ccvall type rwh c6 h t2ccu_cc2h reset: 00 h t2ccu capture/compare register 2 high bit field ccvalh type rwh rmap = 0, page 3 c0 h t2ccu_cocon reset: 00 h t2ccu compare control register bit field ccm5 ccm4 cm5f cm4f polb pola comod type rw rw rwh rwh rw rw rw c1 h t2ccu_cc3l reset: 00 h t2ccu capture/compare register 3 low bit field ccvall type rwh c2 h t2ccu_cc3h reset: 00 h t2ccu capture/compare register 3 high bit field ccvalh type rwh c3 h t2ccu_cc4l reset: 00 h t2ccu capture/compare register 4 low bit field ccvall type rwh c4 h t2ccu_cc4h reset: 00 h t2ccu capture/compare register 4 high bit field ccvalh type rwh c5 h t2ccu_cc5l reset: 00 h t2ccu capture/compare register 5 low bit field ccvall type rwh c6 h t2ccu_cc5h reset: 00 h t2ccu capture/compare register 5 high bit field ccvalh type rwh table 9 t2ccu register overview (cont?d) addr register name bit 7 6 5 4 3 2 1 0
xc858ca functional description data sheet 43 v1.0, 2010-03 3.2.4.7 timer 21 registers the timer 21 sfrs can be accessed in the mapped memory area (rmap = 1). 3.2.4.8 uart1 registers the uart1 sfrs can be accessed in the mapped memory area (rmap = 1). rmap = 0, page 4 c2 h t2ccu_cctdtclreset: 00 h t2ccu capture/compare timer dead-time control register low bit field dtm type rw c3 h t2ccu_cctdtchreset: 00 h t2ccu capture/compare timer dead-time control register high bit field dtre s dtr2 dtr1 dtr0 dtlev dte2 dte1 dte0 type rwhrh rh rhrwrwrwrw table 10 t21 register overview addr register name bit 7 6 5 4 3 2 1 0 rmap = 1 c0 h t21_t2con reset: 00 h timer 2 control register bit field tf2 exf2 0 exen 2 tr2 c/t2 cp/ rl2 type rwh rwh r rw rwh rw rw c1 h t21_t2mod reset: 00 h timer 2 mode register bit field t2re gs t2rh en edge sel pren t2pre dcen type rw rw rw rw rw rw rw rw c2 h t21_rc2l reset: 00 h timer 2 reload/capture register low bit field rc2 type rwh c3 h t21_rc2h reset: 00 h timer 2 reload/capture register high bit field rc2 type rwh c4 h t21_t2l reset: 00 h timer 2 register low bit field thl2 type rwh c5 h t21_t2h reset: 00 h timer 2 register high bit field thl2 type rwh c6 h t21_t2con1 reset: 03 h timer 2 control register 1 bit field 0 tf2en exf2e n type r rw rw table 9 t2ccu register overview (cont?d) addr register name bit 7 6 5 4 3 2 1 0
xc858ca functional description data sheet 44 v1.0, 2010-03 3.2.4.9 ssc registers the ssc sfrs can be accessed in the standard memory area (rmap = 0). table 11 uart1 register overview addr register name bit 7 6 5 4 3 2 1 0 rmap = 1 c8 h scon reset: 00 h serial channel control register bit field sm0 sm1 sm2 ren tb8 rb8 ti ri type rw rw rw rw rw rwh rwh rwh c9 h sbuf reset: 00 h serial data buffer register bit field val type rwh ca h bcon reset: 00 h baud rate control register bit field 0 brpre r type r rw rw cb h bg reset: 00 h baud rate timer/reload register bit field br_value type rwh cc h fdcon reset: 00 h fractional divider control register bit field 0 ndov fdm fden type r rwh rw rw cd h fdstep reset: 00 h fractional divider reload register bit field step type rw ce h fdres reset: 00 h fractional divider result register bit field result type rh cf h scon1 reset: 07 h serial channel control register 1 bit field 0 ndov en tien rien type r rw rw rw table 12 ssc register overview addr register name bit 7 6 5 4 3 2 1 0 rmap = 0 a9 h ssc_pisel reset: 00 h port input select register bit field 0 cis sis mis type r rw rw rw aa h ssc_conl reset: 00 h control register low programming mode bit field lb po ph hb bm type rw rw rw rw rw aa h ssc_conl reset: 00 h control register low operating mode bit field 0 bc type r rh ab h ssc_conh reset: 00 h control register high programming mode bit field en ms 0 aren ben pen ren ten type rw rw r rw rw rw rw rw ab h ssc_conh reset: 00 h control register high operating mode bit field en ms 0 bsy be pe re te type rw rw r rh rwh rwh rwh rwh
xc858ca functional description data sheet 45 v1.0, 2010-03 3.2.4.10 multican registers the multican sfrs can be accessed in the standard memory area (rmap = 0). 3.2.4.11 ocds registers the ocds sfrs can be accessed in the mapped memory area (rmap = 1). ac h ssc_tbl reset: 00 h transmitter buffer register low bit field tb_value type rw ad h ssc_rbl reset: 00 h receiver buffer register low bit field rb_value type rh ae h ssc_brl reset: 00 h baud rate timer reload register low bit field br_value type rw af h ssc_brh reset: 00 h baud rate timer reload register high bit field br_value type rw table 13 can register overview addr register name bit 7 6 5 4 3 2 1 0 rmap = 0 d8 h adcon reset: 00 h can address/da ta control register bit field v3 v2 v1 v0 auad bsy rwen type rw rw rw rw rw rh rw d9 h adl reset: 00 h can address register low bit field ca9 ca8 ca7 ca6 ca5 ca4 ca3 ca2 type rwh rwh rwh rwh rwh rwh rwh rwh da h adh reset: 00 h can address register high bit field 0 ca13 ca12 ca11 ca10 type r rwh rwh rwh rwh db h data0 reset: 00 h can data register 0 bit field cd type rwh dc h data1 reset: 00 h can data register 1 bit field cd type rwh dd h data2 reset: 00 h can data register 2 bit field cd type rwh de h data3 reset: 00 h can data register 3 bit field cd type rwh table 12 ssc register overview (cont?d) addr register name bit 7 6 5 4 3 2 1 0
xc858ca functional description data sheet 46 v1.0, 2010-03 table 14 ocds register overview addr register name bit 7 6 5 4 3 2 1 0 rmap = 1 e9 h mmcr2 reset: 8u h monitor mode control 2 register bit field stmo de exbc dsus p mbco n altdi mmep mmod e jena type rw rw rw rwh rw rwh rh rh ea h mextcr reset: 0u h memory extension control register bit field 0 bankbpx type r rw eb h mmwr1 reset: 00 h monitor work register 1 bit field mmwr1 type rw ec h mmwr2 reset: 00 h monitor work register 2 bit field mmwr2 type rw f1 h mmcr reset: 00 h monitor mode control register bit field mexit _p mexit 0 mste p mram s_p mram s trf rrf type w rwh r rw w rwh rh rh f2 h mmsr reset: 00 h monitor mode status register bit field mbca m mbcin exbf swbf hwb3 f hwb2 f hwb1 f hwb0 f type rw rwh rwh rwh rwh rwh rwh rwh f3 h mmbpcr reset: 00 h breakpoints control register bit field swbc hwb3c hwb2c hwb1 c hwb0c type rw rw rw rw rw f4 h mmicr reset: 00 h monitor mode interrupt control register bit field dvec t dret r comr st msts el mmui e_p mmui e rrie_ p rrie type rwh rwh rwh rh w rw w rw f5 h mmdr reset: 00 h monitor mode data transfer register receive bit field mmrr type rh f6 h hwbpsr reset: 00 h hardware breakpoints select register bit field 0 bpsel _p bpsel type r w rw f7 h hwbpdr reset: 00 h hardware breakpoints data register bit field hwbpxx type rw
xc858ca functional description data sheet 47 v1.0, 2010-03 3.2.4.12 flash registers the flash sfrs can be accessed in the mapped memory area (rmap = 1). table 15 flash register overview addr register name bit 7 6 5 4 3 2 1 0 rmap = 1 d1 h fcon reset: 10 h p-flash control register bit field 0 fbsy ye 1 nvst r mas1 eras e prog type r rh rwh r rw rw rw rw d2 h eecon reset: 10 h d-flash control register bit field 0 eebs y ye 1 nvst r mas1 eras e prog type r rh rwh r rw rw rw rw d3 h fcs reset: 80 h flash control and status register bit field 1 sbeie ften 0 eede rr eese rr fder r fser r type r rw rwh r rwh rwh rwh rwh d4 h feal reset: 00 h flash error address register, low byte bit field ecceaddr type rh d5 h feah reset: 00 h flash error address register, high byte bit field ecceaddr type rh d6 h ftval reset: 78 h flash timer value register bit field mode ofval type rw rw dd h fcs1 reset: 00 h flash control and status register 1 bit field 0 eeab ort type r rwh
xc858ca functional description data sheet 48 v1.0, 2010-03 3.3 flash memory the flash memory provides an embedded user-programm able non-volatile memory, allowing fast and reliable storage of user code and data. it is operated from a single 2.5 v supply from the embedded voltage regu lator (evr) and does not require additional programming or erasing voltage. the paginat ion of the flash me mory allows each page to be erased independently. features ? in-system programming (isp) via uart ? in-application programming (iap) ? error correction code (ecc) for dynamic correction of single-bit errors ? background program a nd erase operations for cpu load minimization ? support for aborti ng erase operation ? minimum program width ? of 1-byte for d-flash and 2-bytes for p-flash ? 1-page minimum erase width ? 1-byte read access ? flash is deliver ed in erased stat e (read all ones) ? operating supply vo ltage: 2.5 v 7.5 % ? read access time: 1 t cclk =38 ns 1) ? program time for 1 wordline: 1.6 ms 2) ? page erase time: 20 ms ? mass erase time: 200 ms 1) values shown here are typical values. f sys = 144 mhz 7.5% ( f cclk = 24 mhz 7.5 %) is the maximum frequency range for flash read access. 2) values shown here are typical values. f sys = 144 mhz 7.5% ( f cclk = 24 mhz 7.5 %) is the typical frequency range for flash programming and erasing. f sysmin is used for obtaining the worst case timing.
xc858ca functional description data sheet 49 v1.0, 2010-03 table 16 shows the flash data ret ention and endurance target s for industrial profile. table 16 flash data retention and endurance for industrial profile (operating conditions apply) retention endurance 1)2) 1) in program flash, one cycle refers to the programming of all pages in the flash bank and a mass erase. 2) in data flash, one cycle refers to the programming of all wordlines in a page and a page erase. size remarks program flash 15 years 1000 cycles up to 60 kbytes data flash 15 years 1000 cycles 4 kbytes 10 years 10,000 cycles 4 kbytes 5 years 30,000 cycles 4 kbytes 1 year 100,000 cycles 4 kbytes
xc858ca functional description data sheet 50 v1.0, 2010-03 3.3.1 flash bank pagination the xc858 product family offers flash devi ces with 64 kbytes, 52 kb ytes or 36kbyte of embedded flash memory. each flash device co nsists of a program flash (p-flash) and a single data flash (d-flash) bank. p-flash has 120 pages of 8 wordlines per page with 64 bytes per wordline. d-flash has 64 pages of 2 wordlines per page with 32 bytes per wordline. both types can be used for code and data stora ge. the label ?data? neither implies that the d-flash is mapped to the data memory re gion, nor that it can only be used for data storage. it is used to dist inguish the different p age width and wordline of each flash bank. the internal structure of eac h flash bank represents a page architecture for flexible erase capability. the minimu m erase width is always a co mplete page. the d-flash bank is divided into smaller size for extended erasing and repr ogramming capability; even numbers for each page size are provided to allow greater flexibility and the ability to adapt to a wide range of application requirements.
xc858ca functional description data sheet 51 v1.0, 2010-03 3.4 interrupt system the xc800 core supports one non-maskable interrupt (nmi ) and 14 maskable interrupt requests. in addition to the standard interr upt functions supporte d by the core, e.g., configurable interrupt prio rity and interrupt masking, the xc858 interrupt system provides extended interrupt su pport capabilitie s such as the mapping of each interrupt vector to several interrupt sources to increase the number of interrupt sources supported, and additional stat us registers for detecting and determining the interrupt source. 3.4.1 interrupt source figure 12 to figure 16 give a general overview of t he interrupt sour ces and nodes, and their corresponding co ntrol and status flags. figure 12 non-maskable in terrupt request sources 0073 h nmiwdt nmicon.0 wdt overflow >=1 non maskable interrupt nmipll nmicon.1 pll loss of clock nmiflash flash timer overflow fnmiwdt nmiisr.0 fnmipll nmiisr.1 fnmiflash nmiisr.2 nmivddp nmicon.5 vddp pre-warning fnmivddp nmiisr.5 nmiecc nmicon.6 flash ecc error fnmiecc nmiisr.6 nmicon.2
xc858ca functional description data sheet 52 v1.0, 2010-03 figure 13 interrupt request sources (part 1) highest lowest priority leve l bit-addressable request flag is cleared by hardware 000b h et0 ien0.1 tf0 tcon.5 timer 0 overflow 001b h et1 ien0.3 tf1 tcon.7 timer 1 overflow ip.1/ iph.1 ip.3/ iph.3 0023 h es ien0.4 ip.4/ iph.4 >=1 ri scon.0 ti scon.1 uart transmit 0003 h ex0 ien0.0 ie0 tcon.1 ip.0/ iph.0 0013 h ip.2/ iph.2 it0 tcon.0 ex1 ien0.2 ie1 tcon.3 it1 tcon.2 ien0.7 ea p o l l i n g s e q u e n c e uart receive exint0 exicon0.0/1 eint0 exint1 exicon0.2/3 eint1
xc858ca functional description data sheet 53 v1.0, 2010-03 figure 14 interrupt request sources (part 2) highest lowest priority level bit- addressable request flag is cleared by hardware 002b h ip.5/ iph.5 p o l l i n g s e q u e n c e 0033 h eadc ien1.0 ip1.0/ iph1.0 >=1 adcsrc0 ircon1.3 adcsrc1 ircon1.4 cansrc1 ircon1.5 et2 ien0.5 >=1 tf2 t2_t2con.7 exf2 t2_t2con.6 timer 2 overflow exen2 t2_t2con.3 cansrc0 ircon2.0 ndov fdcon.2 normal divider overflow synen fdcon.6 eofsyn fdcon.4 end of syn byte errsyn fdcon.5 syn byte error ien0.7 ea cansrc2 ircon1.6 t2ex edges el t2_t2mod.5 >=1 exf2en t2_t2con1.0 tf2en t2_t2con1.1 cctovf t2ccu_cctcon.3 cct overflow cctoven t2ccu_cctcon.2 ndoven bcon.5 multican node 0 adc service request 0 adc service request 1 multican node 1 multican node 2
xc858ca functional description data sheet 54 v1.0, 2010-03 figure 15 interrupt request sources (part 3) highest lowest priority level bit-addressable request flag is cleared by hardware p o l l i n g s e q u e n c e 003b h essc ien1.1 ip1.1/ iph1.1 >=1 tir ircon1.1 rir ircon1.2 eir ircon1.0 ien0.7 ea 0043 h ip1.2/ iph1.2 exint2 exicon0.4/5 exint2 ircon0.2 eint2 ex2 ien1.2 >=1 >=1 ri uart1_scon.0 ti uart1_scon.1 uart1 ndov uart1 normal divider overflow uart1_fdcon.2 eiren modien.0 tiren modien.1 riren modien.2 ndoven uart1_scon1.2 tf2 t21_t2con.7 exf2 t21_t2con.6 timer 21 overflow exen2 t21_t2con.3 t21ex edges el t21_t2mod.5 >=1 exf2en t21_t2con1.0 tf2en t21_t2con1.1 rien uart1_scon1.0 tien uart1_scon1.1 ssc error ssc transmit ssc receive
xc858ca functional description data sheet 55 v1.0, 2010-03 figure 16 interrupt request sources (part 4) ien0.7 highest lowest priority level bit- addressable request flag is cleared by hardware p o l l i n g s e q u e n c e ea 004b h exm ien1.3 ip1.3/ iph1.3 >=1 exint5 exicon1.2/3 exint5 ircon0.5 t2cc2/ eint5 exint4 exicon1.0/1 exint4 ircon0.4 t2cc1/ eint4 exint3 exicon0.6/7 exint3 ircon0.3 t2cc0/ eint3 exint6 exicon1.4/5 exint6 ircon0.6 t2cc3/ eint6 cansrc3 ircon2.4 multican node 3 cm4f t2ccu_cocon.4 compare channel 4 cm4en modien.3 cm5f t2ccu_cocon.5 compare channel 5 cm5en modien.4
xc858ca functional description data sheet 56 v1.0, 2010-03 figure 17 interrupt request sources (part 5) highest lowest priority level p o l l i n g s e q u e n c e ien0.7 bit-addressable request flag is cleared by hardware ea 0053 h ip1.4/ iph1.4 005b h ip1.5/ iph1.5 0063 h ip1.6/ iph1.6 006b h ip1.7/ iph1.7 eccip0 ien1.4 eccip1 ien1.5 eccip2 ien1.6 eccip3 ien1.7 cansrc4 ircon3.1 multican node 4 cansrc5 ircon3.5 multican node 5 cansrc6 ircon4.1 multican node 6 cansrc7 ircon4.5 multican node 7 ircon4.4
xc858ca functional description data sheet 57 v1.0, 2010-03 3.4.2 interrupt source and vector each interrupt event source has an associat ed interrupt vector addr ess for the interrupt node it belongs to. this vect or is accessed to service th e corresponding interrupt node request. the interrupt service of each inte rrupt source can be in dividually enabled or disabled via an enable bit. the assignment of the xc858 interrupt sources to the interrupt vector a ddress and the corresponding inte rrupt node enable bits are summarized in table 17 . table 17 interrupt vector addresses interrupt source vector address assignment for xc858 enable bit sfr nmi 0073 h watchdog timer nmi nmiwdt nmicon pll nmi nmipll flash timer nmi nmiflash v ddp prewarning nmi nmivddp flash ecc nmi nmiecc xintr0 0003 h external interrupt 0 ex0 ien0 xintr1 000b h timer 0 et0 xintr2 0013 h external interrupt 1 ex1 xintr3 001b h timer 1 et1 xintr4 0023 h uart es xintr5 002b h t2ccu et2 uart fractional divider (normal divider overflow) multican node 0
xc858ca functional description data sheet 58 v1.0, 2010-03 xintr6 0033 h multican nodes 1 and 2 eadc ien1 adc[1:0] xintr7 003b h ssc essc xintr8 0043 h external interrupt 2 ex2 t21 uart1 uart1 fractional divider (normal divider overflow) xintr9 004b h external interrupt 3 exm external interrupt 4 external interrupt 5 external interrupt 6 t2ccu multican node 3 xintr10 0053 h multican node 4 eccip0 xintr11 005b h multican node 5 eccip1 xintr12 0063 h multican node 6 eccip2 xintr13 006b h multican node 7 eccip3 table 17 interrupt vector addresses (cont?d) interrupt source vector address assignment for xc858 enable bit sfr
xc858ca functional description data sheet 59 v1.0, 2010-03 3.4.3 interrupt priority an interrupt that is currentl y being serviced can only be in terrupted by a higher-priority interrupt, but not by ano ther interrupt of the sa me or lower priority. hence, an interrupt of the highest priority cannot be interr upted by any other interrupt request. if two or more requests of different priority levels ar e received simultaneously, the request of the highest priority is serviced first. if requests of th e same prio rity are received simultaneously, then an internal pol ling sequence determi nes which request is serviced first. thus, within ea ch priority level, there is a second priority structure determined by the polli ng sequence shown in table 18 . table 18 priority structur e within interrupt level source level non-maskable interrupt (nmi) (highest) external interrupt 0 1 timer 0 interrupt 2 external interrupt 1 3 timer 1 interrupt 4 uart interrupt 5 t2ccu,uart normal divider overflow, multican interrupt 6 adc, multican interrupt 7 ssc interrupt 8 external interrupt 2, timer 21, ua rt1, uart1 normal divider overflow interrupt 9 external interrupt [6:3 ], multican interrupt 10 multican interrupt 11 multican interrupt 12 multican interrupt 13 multican interrupt 14
xc858ca functional description data sheet 60 v1.0, 2010-03 3.5 parallel ports the xc858 has 40 port pins organized into fi ve parallel ports: port 0 (p0), port 1 (p1), port 3 (p3), port 4 (p4) and port 5 (p5). each pin has a pai r of internal pull-up and pull- down devices that can be individually enabl ed or disabled. these ports are bidirectional and can be used as g eneral purpose input/ output (gpio) or to perform alternate input/output functions for the on-chip peripherals. when co nfigured as an output, the open drain mode can be selected. bidirectional port features ? configurable pin direction ? configurable pull-up /pull-down devices ? configurable open drain mode ? configurable drive strength ? transfer of data through digital inpu ts and outputs (ge neral purpose i/o) ? alternate input/output for on-chip peripherals
xc858ca functional description data sheet 61 v1.0, 2010-03 figure 18 shows the structure of a bidirectional port pin. figure 18 general structur e of bidirectional port px_od open drain control register px_data data register internal bus alt dat aout 3 alt dat aout 2 px_altsel0 alternate select register 0 px_altsel1 alternate select register 1 alt dat ai n pin px_ds drive strength control register px_di r direction register px_puden pull-up/pull-down enable register alt dat aout 1 pad out in pull device output driver i nput driver 11 10 01 00 schmit t trigger opendrain/output control logic 1 0 px _ pudsel pull-up/pull-down select register pull-up/pull-down control logic
xc858ca functional description data sheet 62 v1.0, 2010-03 3.6 power supply system with embedded voltage regulator the xc858 microcontroller requires two different le vels of power supply: ? 5.0 v for the embedded voltag e regulator (evr) and ports ? 2.5 v for the core, memory, on-ch ip oscillator, and peripherals figure 19 shows the xc858 power supply system. a power supply of 5.0 v must be provided from the external power supply pi n. the 2.5 v power supply for the logic is generated by the evr. the evr helps to reduce the pow er consumption of the whole chip and the complexity of the applicatio n board design. the evr consists of a main voltage regula tor and a low power voltage regulator. in active mode, both voltage regulators are enabled. in power-down mode, the main voltage regulator is switched off, while the low power voltage re gulator continues to function and provide power supply to th e system with low power consumption. figure 19 xc858 power supply system evr features ? input voltage ( v ddp ): 5.0 v ? output voltage ( v ddc ): 2.5 v 7.5% ? low power voltage regulator provided in power-down mode ? v ddp prewarning detection ? v ddc brownout detection on-chip osc cpu & memory v ddc (2.5v) v ddp (5.0v) v ssp gpio ports (p0-p5) evr peripheral logic flash adc pll xtal 1& xtal 2
xc858ca functional description data sheet 63 v1.0, 2010-03 3.7 reset control the xc858 has five types of reset: power-on reset, hard ware reset, watchdog timer reset, power-down wake-up re set, and brownout reset. when the xc858 is first powered up, the status of certain pins (see table 20 ) must be defined to ensure proper star t operation of the device. at the end of a reset sequence, the sampled values are latched to select the desired b oot option, which cannot be modified until the next power-on reset or hardware reset. th is guarantees stable conditions during the norma l operation of the device. the second type of reset in xc858 is the hardwa re reset. this reset function can be used during normal operation or when the chip is in power-down mode . a reset input pin reset is provided for the hardware reset. the watchdog timer (wdt) module is also capable of resett ing the device if it detects a malfunction in the system. another type of reset that needs to be detected is a re set while the device is in power-down mode (wake-up reset). while the contents of the stat ic ram are undefined after a power-on reset, they are well defin ed after a wake-up reset from power-down mode. 3.7.1 module reset behavior table 19 lists the functions of the xc858 and th e various reset types that affect these functions. the symbol ? table 19 effect of reset on device functions module/ function wake-up reset watchdog reset hardware reset power-on reset brownout reset cpu core peripherals on-chip static ram not affected, reliable not affected, reliable not affected, reliable affected, un- reliable affected, un- reliable oscillator, pll port pins evr the voltage regulator is switched on not affected not affected flash nmi disabled disabled
xc858ca functional description data sheet 64 v1.0, 2010-03 3.7.2 booting scheme when the xc858 is reset, it must identify the type of configuration with which to start the different modes once the re set sequence is complete. thus, boot configuration information that is required for activation of special modes and condit ions needs to be applied by the external world through input pins. after power-on reset or hardware reset, the pins mbc, tms and p0 .0 collectively select t he different boot options. table 20 shows the available boot options in the xc858. note: the boot options are valid only with t he default set of uart and jtag pins. table 20 xc858 boot selection 1) 1) in addition to the pins mbc, tms and p0.0, tm pin also requires an external pull down for all the boot options. mbc tms p0.0 type of mode pc start value 1 0 x user mode 2) ; on-chip osc/pll non-bypassed 2) bsl mode is automatically entered if no valid password is installed and data at memory address 0000h equals zero. 0000 h 0 0 x bsl mode; (uart/ multican mode 3)4) and alternate bsl mode 5) ); on-chip osc/pll non- bypassed 3) uart or multican bsl is decoded by firmware based on th e protocol for product vari ant with multican. if no multican variant, uart bsl is used. 4) in multican bsl mode, the clock source is switched to xtal by firmware, bypassing the on-chip oscillator. this avoids any frequency invariance with the on-chip oscillator and allows other frequency clock input, thus ensuring accurate baud rate detection (especially at high bit rates). 5) alternate bsl mode is a user defined bsl code programmed in flash. it is entered if the altbslpassword is valid. 0000 h 0 1 0 ocds mode; on-chip osc/pll non- bypassed 0000 h 1 1 0 user (jtag) mode 6) ; on-chip osc/pll non- bypassed (normal) 6) normal user mode with standard jtag (t ck,tdi,tdo) pins for hot-attach purpose. 0000 h
xc858ca functional description data sheet 65 v1.0, 2010-03 3.8 clock generation unit the clock generation unit (cgu ) allows great flexibility in the clock generation for the xc858. the power consumption is indirectly proportional to the frequency, whereas the performance of the microcontroller is direct ly proportional to th e frequency. during user program execution, the fr equency can be programmed fo r an optimal ratio between performance and power cons umption. therefore the power consumption can be adapted to the actual application state. features ? phase-locked loop (pll) for multiplyin g clock source by different factors ?pll base mode ? prescaler mode ?pll mode ? power-down mode support the cgu consists of an oscillat or circuit and a pll. in t he xc858, the oscillator can be from either of these two sour ces: the on-chip oscillator (4 mh z) or the external oscillator (2 mhz to 20 mhz). the term ?oscillator? is used to refer to both on-chip oscillator and external oscillator, unless ot herwise stated. after the reset, the on-chip oscillator will be used by default.the external o scillator can be selected via so ftware. in addition, the pll provides a fail-safe logic to perform oscillator run and loss-of -lock detection. this allows emergency routines to be exec uted for system recovery or to perform system shut down.
xc858ca functional description data sheet 66 v1.0, 2010-03 figure 20 cgu block diagram direct drive (pll bypass operation) during pll bypass operation, t he system clock has the same frequency as the external clock source. (3.1) pll mode the cpu clock is derived from the oscillato r clock, divided by the nr factor (pdiv), multiplied by the nf factor ( ndiv), and divided by the od fa ctor (kdiv). pll output must pll pll core lock detect nf:1 nr:1 fvco fn fp osc fosc od:1 f sys ndiv pll_lock pllbyp kdiv pdiv wrapper pll watchdog external oscillator watchdog pllpd extoscr oscss pllr switching circuitry osc sys f f =
xc858ca functional description data sheet 67 v1.0, 2010-03 not be bypassed for this pll mode. th e pll mode is used during normal system operation. (3.2) system frequency selection for the xc858, the value of nf, nr and od can be selected by bits ndiv, pdiv and kdiv respectively for different oscillator inputs inorder to ob tain the required fsys. but the combination of these factors must fulfill t he following condition: ? 100 mhz < f vco <175mhz ? 800 khz < f osc / (2 * nr) < 8 mhz table 21 provides examples on how the typica l system frequency of fsys = 144 mhz and maximum fre quency of 160 mhz (cpu clock = 24 mhz)can be obtained for the different oscillator sources. 3.8.1 recommended external oscillator circuits the oscillator circuit, a pierce oscillator, is designed to work with bot h, an external crystal oscillator or an external stable clock source. it basically consists of an inverting amplifier and a feedback element with xtal 1 as input, and xtal2 as output. when using a crystal, a proper external oscillator circuitr y must be con nected to both pins, xtal1 and xtal2. th e crystal frequency can be wit hin the range of 2 mhz to 20 mhz. additionally, it is necessa ry to have two load capacitances c x1 and c x2 , and depending on the crystal ty pe, a series resistor r x2 , to limit the current. a test resistor r q may be temporarily inserted to measure the oscillation allo wance (negative resistance) of the oscillator circuitry. r q values are typically specif ied by the crystal vendor. an external feedback resistor r f is also required in the extern al oscillator circuitry. the exact values and related operati ng range are dependent on the crystal frequency and have to be determined and optimized together with the crystal vendor using the negative table 21 system frequency ( f sys =144mhz) oscillator fosc n p k fsys on-chip 4 mhz 72 2 1 144 mhz 4 mhz 80 2 1 160 mhz external 8 mhz 72 4 1 144 mhz 6 mhz 72 3 1 144 mhz 4 mhz 72 2 1 144 mhz od x nr nf x f f osc sys =
xc858ca functional description data sheet 68 v1.0, 2010-03 resistance method. oscillation measurement with the final target system is strongly recommended to verify the i nput amplitude at xtal1 and to determine the actual oscillation allowance (margi n negative resistan ce) for the oscillator-crystal system. when using an external clock si gnal, the signal must be co nnected to xtal1. xtal2 is left open (unconnected). the oscillator can also be us ed in combination with a ceramic re sonator. the final circuitry must also be verifi ed by the res onator vendor. figure 21 shows the recommended external oscillator circuitries fo r both operating mode s, external crystal mode and external input clock mode. figure 21 external os cillator circuitry note: for crystal operation, it is st rongly recommended to measure the negative resistance in the final target system (lay out) to determine t he optimum parameters for the oscillator operation. please refer to the mini mum and maximum values of the negative resistance specif ied by the crystal supplier. xc858 oscillator v ss c x1 2 - 20 mhz c x2 xtal1 xtal2 xc858 oscillator xtal1 xtal2 external clock signal f osc f osc fundamental mode crystal r x2 r q v ss r f
xc858ca functional description data sheet 69 v1.0, 2010-03 3.8.2 clock management the cgu generates all clock signals required within the mi crocontroller from a single clock, f sys . during normal syst em operation, the typical fr equencies of the different modules are as follow: ? cpu clock: cclk, sclk = 24 mhz ? multican clock : mcanclk = 24 or 48 mhz ? t2ccu clock : t2ccuclk = 24 or 48 mhz ? peripheral clock: pclk = 24 mhz in addition, different clock freq uencies can be output to pin clkout (p0.0 or p0.7). the clock output frequency, which is derived from the clock out put divider (bit corel), can further be divided by 2 using toggle latch (bit tl en is set to 1). th e resulting output frequency has a 50% duty cycle. figure 22 shows the clock dist ribution of the xc858. figure 22 clock generation from f sys pll nf,nr,od fsys clkrel cclk sclk pclk core peripherals on -chip osc clkout fosc corel couts toggle latch tlen /2 multican mcan clk fccfg /3 sd 1 0 t2ccu t2ccu clk t2ccfg fclk oscss external osc
xc858ca functional description data sheet 70 v1.0, 2010-03 for power saving purposes, the clocks may be disabled or slowed down according to table 22 . table 22 system frequency ( f sys =144mhz) power saving mode action idle clock to the cpu is disabled. slow-down clocks to the cpu and all th e peripherals are divided by a common programmable factor defined by bit field cmcon.clkrel. power-down oscillator an d pll are switched off.
xc858ca functional description data sheet 71 v1.0, 2010-03 3.9 power saving modes the power saving modes of the xc858 prov ide flexible power consumption through a combination of te chniques, including: ? stopping the cpu clock ? stopping the clocks of i ndividual system components ? reducing clock speed of some peripheral components ? power-down of the entire system with fast restart capability after a reset, the ac tive mode (normal operating m ode) is selected by default (see figure 23 ) and the system runs in the main system clock freque ncy. from active mode, different power saving modes can be selected by software. they are: ? idle mode ? slow-down mode ? power-down mode figure 23 transition betw een power saving modes power-down idle active slow-down set pd bit set pd bit set idle bit set idle bit set sd bit clear sd bit any interrupt & sd=0 exint0/rxd pin & sd=0 exint0/rxd pin & sd=1 any interrupt & sd=1
xc858ca functional description data sheet 72 v1.0, 2010-03 3.10 watchdog timer the watchdog timer (wdt) provides a high ly reliable and secure way to detect and recover from software or hardwa re failures. the wdt is reset at a regular interval that is predefined by the user . the cpu must service the wdt within this inte rval to prevent the wdt from causing an xc858 syst em reset. hence, routine service of the wdt confirms that the system is functioning properly. this ensures that an acci dental malfunction of the xc858 will be abor ted in a user-specified time period. in debug mode, the wdt is def ault suspended and stops coun ting. therefore, there is no need to refresh t he wdt during debugging. features ? 16-bit watchdog timer ? programmable reload value fo r upper 8 bits of timer ? programmable window boundary ? selectable input frequency of f pclk /2 or f pclk /128 ? time-out detection wit h nmi generation and reset prew arning activation (after which a system reset will be performed) the wdt is a 16-bit timer incr emented by a count rate of f pclk /2 or f pclk /128. this 16-bit timer is realized as two concatenated 8-bi t timers. the upper 8 bits of the wdt can be preset to a user-programmable value via a wa tchdog service access in order to modify the watchdog expire time per iod. the lower 8 bits are reset on each service access. figure 24 shows the block diag ram of the wdt unit. figure 24 wdt block diagram wdtrel mux wdt low byte 1:2 clear wdt control 1:128 wdt high byte fnmiwdt wdtin f pclk logic enwdt enwdt_p wdtrst overflow/time-out control & window-boundary control wd twinb .
xc858ca functional description data sheet 73 v1.0, 2010-03 if the wdt is not serviced bef ore the timer overflow, a syst em malfunction is assumed. as a result, the wdt nmi is triggered (asse rt fnmiwdt) and the reset prewarning is entered. the prewarni ng period lasts for 30 h count, after which the system is reset (assert wdtrst). the wdt has a ?programmable window bounda ry? which disallows any refresh during the wdt?s count-up. a refr esh during this win dow boundary constitutes an invalid access to the wdt, causing th e reset prewarning to be ent ered but without triggering the wdt nmi. the system will still be reset afte r the prewarning period is over. the window boundary is from 0000 h to the value obtained from the concatenati on of wdtwinb and 00 h . after being serviced, the wd t continues co unting up from the value ( * 2 8 ). the time period for an overflow of the wdt is programmable in two ways: ? the input frequency to the wdt can be sele cted to be either f pclk /2 or f pclk /128 ? the reload value wdtrel for the high by te of wdt can be pr ogrammed in register wdtrel the period, p wdt , between servicing the wdt and th e next overflow can be determined by the following formula: (3.3) if the window-boundary refresh featur e of the wdt is enabled, the period p wdt between servicing the wdt and the next overflow is shorte ned if wdtwinb is greater than wdtrel, see figure 25 . this period can be calculated using the same formula by replacing wdtrel with wdtwin b. for this feature to be useful, wdtwinb cannot be smaller than wdtrel. p wdt 2 1wdtin + 6 () 2 16 wdtrel ? 2 8 () f pclk --------------------------------------------------- -------------------------------------------------- - =
xc858ca functional description data sheet 74 v1.0, 2010-03 figure 25 wdt timing diagram table 23 lists the possible watchdog time ranges that can be achiev ed using a certain module clock. some numbers are rounded to 3 significant digits. 3.11 uart and uart1 the xc858 provides two universal asyn chronous receiver/transmitter (uart and uart1) modules for full-duplex asynchron ous reception/transmission. both are also receive-buffered, i.e., they can commence reception of a second byte before a previously received byte has been read from the receive register. however, if the first byte still has not been read by the time rece ption of the second by te is complete, one of the bytes will be lost. features ? full-duplex asynchronous modes ? 8-bit or 9-bit data frames, lsb first ? fixed or vari able baud rate ? receive buffered ? multiprocessor communication table 23 watchdog time ranges reload value in wdtrel prescaler for f pclk 2 (wdtin = 0) 128 (wdtin = 1) 24 mhz 24 mhz ff h 21.3
xc858ca functional description data sheet 75 v1.0, 2010-03 ? interrupt generation on the completion of a data transmission or reception the uart modules can operate in the four modes shown in table 24 . there are several ways to ge nerate the baud rate clock fo r the serial port, depending on the mode in which it is operating. in mode 0, the baud rate for the transfer is fixed at f pclk /2. in mode 2, the baud rate is generated internally based on th e uart input clock and can be configured to either f pclk /32 or f pclk /64. for uart1 module, only f pclk /64 is available. the variable baud rate is set by the underflo w rate on the dedicated baud-rate generator. for uart module, t he variable baud rate alter natively can be set by the overflow rate on timer 1. 3.11.1 baud-rate generator both uart modules have their own dedicat ed baud-rate generator , which is based on a programmable 8-bit reload value, and in cludes divider stages (i.e., prescaler and fractional divider) for generating a wide ra nge of baud rates based on its input clock f pclk , see figure 26 . table 24 uart modes operating mode baud rate mode 0: 8-bit shift register f pclk /2 mode 1: 8-bit shift uart variable mode 2: 9-bit shift uart f pclk /32 or f pclk /64 1) 1) for uart1 module, the baud rate is fixed at f pclk /64. mode 3: 9-bit shift uart variable
xc858ca functional description data sheet 76 v1.0, 2010-03 figure 26 baud-rate generator circuitry the baud rate timer is a count-down timer a nd is clocked by eith er the output of the fractional divider ( f mod ) if the fractional divider is enabled (fdcon.fden = 1), or the output of the prescaler ( f div ) if the fractional divider is disabled (fden = 0). for baud rate generation, the fractional di vider must be configured to fractional divider mode (fdcon.fdm = 0). this allows the baud rate contro l run bit bcon.r to be used to start or stop the baud ra te timer. at each time r underflow, the timer is reloaded with the 8-bit reload value in register bg and one clock pulse is genera ted for the serial channel. enabling the fractional divider in normal divider mode (fden = 1 and fdm = 1) stops the baud rate timer and nullifies t he effect of bit bcon.r. see section 3.12 . the baud rate ( f br ) value is dependent on th e following parameters: ? input clock f pclk ? prescaling factor (2 brpre ) defined by bit field br pre in register bcon ? fractional divider (step/256 ) defined by register fdstep (to be considered only if fractional divider is enab led and operatin g in fractional divider mode) ? 8-bit reload value (br_val ue) for the baud rate time r defined by register bg fdstep 1 fdm adder fdres fden&fdm clk fractional divider prescaler ndov ?0? fden 00 01 10 11 11 10 01 00 0 1 (overflow) 0 f br 8-bit baud rate timer 8-bit reload value r 0 1 f div f div f pcl k f mod
xc858ca functional description data sheet 77 v1.0, 2010-03 the following formulas calculate the final baud rate without a nd with the fractional divider respectively: (3.4) (3.5) the maximum baud rate that can be generated is limited to f pclk /32. hence, for a module clock of 24 mhz, the maximum ac hievable baud rate is 0.75 mbaud. table 25 lists the various common ly used baud rates with their corresponding parameter settings and deviation errors. the fractiona l divider is disabled and a module clock of 24 mhz is used. the fractional divider allows baud rates of hi gher accuracy (lower deviation error) to be generated. table 26 lists the resulting de viation errors from ge nerating a b aud rate of 57.6 khz, using different module clock freque ncies. the fractional divider is enabled (fractional divider mode) and the corresponding param eter settings are shown. table 25 typical baud rates for uart with fractional divider disabled baud rate prescaling factor (2brpre) reload value (br_value + 1) deviation error 19.2 kbaud 1 (brpre=000 b ) 78 (4e h )0.17% 9600 baud 1 (brpre=000 b ) 156 (9c h )0.17% 4800 baud 2 (brpre=001 b ) 156 (9c h )0.17% 2400 baud 4 (brpre=010 b ) 156 (9c h )0.17% baud rate f pclk 16 2 brpre br_value 1 + () ------------------------------------------ ----------------------------------------- where 2 brpre br_value 1 + () 1 > = baud rate f pclk 16 2 brpre br_value 1 + () ------------------------------------------------------ ----------------------------- step 256 -------------- - =
xc858ca functional description data sheet 78 v1.0, 2010-03 3.11.2 baud rate generation using timer 1 in uart modes 1 and 3 of uart module, timer 1 can be used for generating the variable baud rates. in theo ry, this timer could be used in any of its modes. but in practice, it should be set into auto-reload mo de (timer 1 mode 2), with its high byte set to the appropriate value for the required b aud rate. the baud rate is determined by the timer 1 overflow rate and th e value of smod as follows: (3.6) 3.12 normal divider mode (8-bit auto-reload timer) setting bit fdm in register fdco n to 1 configures the fraction al divider to normal divider mode, while at the sa me time disables b aud rate generation (see figure 26 ). once the fractional divider is enabled (fden = 1), it f unctions as an 8-bit auto-reload timer (with no relation to baud rate gener ation) and counts up from the reload value with each input clock pulse. bit field result in register fdres represents the timer value, while bit field step in register fdstep defines the reload value. at eac h timer overflow, an overflow flag (fdcon.ndov) will be set and an interrupt requ est generated. this gives an output clock f mod that is 1/n of the input clock f div , where n is defined by 256 - step. the output frequency in normal divider mode is derived as follows: (3.7) table 26 deviation error for uart wi th fractional divider enabled f pclk prescaling factor (2brpre) reload value (br_value + 1) step deviation error 24 mhz 1 6 (6 h ) 59 (3b h ) +0.03 % 12 mhz 1 3 (3 h ) 59 (3b h ) +0.03 % 8mhz 1 2 (2 h ) 59 (3b h ) +0.03 % 6mhz 1 6 (6 h ) 236 (ec h ) +0.03 % mode 1, 3 baud rate 2 smod f pclk 32 2 256 th1 ? () ---------------------------------------------------- - = f mod f div 1 256 step ? ----------------------------- - =
xc858ca functional description data sheet 79 v1.0, 2010-03 3.13 high-speed synchronous serial interface the high-speed synchronou s serial interface (ssc ) supports full-duplex and half-duplex synchronou s communication. the serial clock signal can be generated by the ssc internally (master m ode), using its own 16-bit bau d-rate generator, or can be received from an external master (slave mode ). data width, shift di rection, clock polarity and phase are programmable. this allows communication with spi-compatible devices or devices using other sync hronous serial interfaces. features ? master and slave mode operation ? full-duplex or ha lf-duplex operation ? transmit and receive buffered ? flexible data format ? programmable number of data bits: 2 to 8 bits ? programmable shift directi on: lsb or msb shift first ? programmable clock polarity: idle lo w or high state for the shift clock ? programmable clock/data phase: data shift with leading or traili ng edge of the shift clock ? variable baud rate ? compatible with serial pe ripheral interface (spi) ? interrupt generation ? on a transmitter empty condition ? on a receiver full condition ? on an error condition (receive, p hase, baud rate, transmit error) data is transmitted or received on lines txd and rxd, which are normally connected to the pins mtsr (master transmit/slave re ceive) and mrst (ma ster receive/slave transmit). the clock signal is output via line ms_clk (master serial shift clock) or input via line ss_clk (slave serial shift clock). both lines are normally connected to the pin sclk. transmission and receptio n of data are double-buffered. figure 27 shows the block di agram of the ssc.
xc858ca functional description data sheet 80 v1.0, 2010-03 figure 27 ssc block diagram pclk ss_clk rir tir eir receive int. request transmit int. request error int. request control status txd(mas ter) rxd(slave) shift clock ms_clk rxd(master) txd(slave) internal bus baud-rate generator clock control ssc control block register con pin control 16-bit shift register transmit buffer register tb receive buffer register rb
xc858ca functional description data sheet 81 v1.0, 2010-03 3.14 timer 0 and timer 1 timer 0 and timer 1 can func tion as both timers or count ers. when functioning as a timer, timer 0 and timer 1 are incremented every machine cycle, i.e. every 2 input clocks (or 2 pclks). when functioning as a counter, timer 0 and timer 1 are incremented in response to a 1-to-0 transiti on (falling edge) at their respective external input pins, t0 or t1. timer 0 and 1 are fully compat ible and can be configured in four different operating modes for use in a vari ety of applications, see table 27 . in modes 0, 1 and 2, the two timers operate ind ependently, but in mo de 3, their functions are specialized. table 27 timer 0 and timer 1 modes mode operation 0 13-bit timer the timer is essentially an 8-bit c ounter with a divide-by-32 prescaler. this mode is included solely for co mpatibility with in tel 8048 devices. 1 16-bit timer the timer registers, tlx and thx, are concatenated to form a 16-bit counter. 2 8-bit timer with auto-reload the timer register tlx is reloaded with a user-def ined 8-bit value in thx upon overflow. 3 timer 0 operates as two 8-bit timers the timer registers, tl0 and th0, ope rate as two separat e 8-bit counters. timer 1 is halted and retain s its count ev en if enabled.
xc858ca functional description data sheet 82 v1.0, 2010-03 3.15 timer 2 and timer 21 timer 2 and timer 21 ar e 16-bit general purpose timers (t hl2) that are fully compatible and have two modes of oper ation, a 16-bit auto-reload mode and a 16-bi t one channel capture mode, see table 28 . as a timer, the timers count with an input clock of pclk/12 (if prescaler is disabled). as a counter, they count 1-to-0 transitions on pin t2. in the counter mode, the maximum resolution for the count is pclk/24 (if prescaler is disabled). table 28 timer 2 modes mode description auto-reload up/down count disabled ? count up only ? start counting from 16-bit reload value, overflow at ffff h ? reload event confi gurable for trigger by overflow condition only, or by negative/positive edge at input pin t2ex as well ? programmble reload value in register rc2 ? interrupt is generate d with reload event up/down count enabled ? count up or down, direction dete rmined by level at input pin t2ex ? no interrupt is generated ? count up ? start counting from 16-bit re load value, overflow at ffff h ? reload event triggered by overflow condition ? programmble reload value in register rc2 ? count down ? start counting from ffff h , underflow at value defined in register rc2 ? reload event trigger ed by underflow condition ? reload value fixed at ffff h channel capture ? count up only ? start counting from 0000 h , overflow at ffff h ? reload event triggered by overflow condition ? reload value fixed at 0000 h ? capture event triggered by falling/rising ed ge at pin t2ex ? captured timer value st ored in register rc2 ? interrupt is gene rated with reload or capture event
xc858ca functional description data sheet 83 v1.0, 2010-03 3.16 timer 2 capture/compare unit the t2ccu (timer 2 capture/compare unit) co nsists of the standard timer 2 unit and a capture/compare unit (ccu) . the capture/compare time r (cct) is part of the ccu. control is available in th e t2ccu to select individual ly for each of its 16-bit capture/compare channel, eit her the timer 2 or the capt ure/compare timer (cct) as the time base. both timers have a resolution of 16 bi ts.the clock frequency of t2ccu, f t2ccu , could be set at pclk frequency or 2 times the pclk frequency. the t2ccu can be used for various digital si gnal generation and event capturing like pulse generation, pul se width modulation, pulse width meas uring etc. target applications include various automotive control as well as industrial (frequency generation, digital-to-analog c onversion, process control etc.). t2ccu features ? option to select individually for each channel, either timer 2 or capture/compare timer as time base ? extremely flexible capture/compare time r count rate by cascading with timer 2 ? capture/compare timer may be ?reset? i mmediately by triggering overflow event ? 16-bit resolution ? six compare channels in total ? four capture channels mu ltiplexed with the compar e channels, in total ? shadow register for each compare register ? transfer via software control or on timer overflow. ? compare mode 0: compare output signal c hanges from the inacti ve level to active level on compare match. returns to inactive level on timer overflow. ? active level can be defined by regi ster bit for cha nnel groups a and b. ? support of 0% to 100% duty cycle in compare mode 0. ? compare mode 1: full control of the softwa re on the compare output signal level, for the next compare match. ? concurrent compare mo de with channel 0 ? capture mode 0: capture on any external event (rising/fallin g/both edge) at the 4 pins t2cc0 to t2cc3. ? capture mode 1: capture upon writing to the low byte of the corresponding channel capture register. ? capture mode 0 or 1 can be established independently on the 4 capture channels.
xc858ca functional description data sheet 84 v1.0, 2010-03 3.17 controller area network (multican) the multican module contains two fu ll-can nodes operat ing independently or exchanging data and remote fr ames via a gateway function . transmission and reception of can frames is handled in accordance to can specification v2.0 b active. each can node can receive and transmit st andard frames with 11-bit i dentifiers as well as extended frames with 29-bit identifiers. both can nodes share a comm on set of message objects, where each message object may be individually allocated to one of the can nodes. besides serving as a storage container for incoming and outgoing frames, message objects may be combined to build gateways between the can nodes or to setup a fifo buffer. the message objects are organ ized in double chained lists , where each can node has it?s own list of message objects. a can nod e stores frames only into message objects that are allocated to the list of the can no de. it only transmits me ssages from objects of this list. a powerful, command driven li st controller performs all list operations. the bit timings for the can nodes are derived from the peripheral clock ( f can ) and are programmable up to a da ta rate of 1 mbaud. a pair of receive and transmit pins connects each can node to a bus transceiver. figure 28 overview of the multican features ? compliant to iso 11898. multican module kernel mult ic an _xc 8_overview port control can node 0 can control message object buffer 32 objects can node 1 txdc0 rxdc0 txdc1 rxdc1 linked list control f can clock control address decoder & data control access mediator interrupt controller cansrc[7:0] a[13: 2] d[31:0]
xc858ca functional description data sheet 85 v1.0, 2010-03 ? can functionality according to can specification v2.0 b active. ? dedicated control registers ar e provided for each can node. ? a data transfer rate up to 1 mbaud is supported. ? flexible and powerful message transfer c ontrol and error hand ling capabilities are implemented. ? advanced can bus bit timing analysis and baud rate detection can be performed for each can node via th e frame counter. ? full-can functionality: a set of 32 message objects can be individually ? allocated (assigned ) to any can node ? configured as transmit or receive object ? setup to handle frames with 11-bit or 29-bit identifier ? counted or assigned a time stamp via a frame counter ? configured to remote monitoring mode ? advanced accept ance filtering: ? each message object provid es an individual acceptan ce mask to filter incoming frames. ? a message object can be configured to accept only standard or only extended frames or to accept both st andard and ex tended frames. ? message objects can be grouped into 4 priority classes. ? the selection of the message to be tran smitted first can be performed on the basis of frame identifier, ide bit and rtr bit according to can arbitration rules. ? advanced message ob ject functionality: ? message objects can be combined to build fifo message buffers of arbitrary size, which is only limited by th e total number of message objects. ? message objects can be linked to form a gateway to automatically transfer frames between 2 different can buses. a single gateway can link any two can nodes. an arbitrary number of gateways may be defined. ? advanced data management: ? the message objects are org anized in double chained lists. ? list reorganizations may be performed an y time, even during full operation of the can nodes. ? a powerful, command driven list contro ller manages the organ ization of the list structure and ensures co nsistency of the list. ? message fifos are based on the list structure and can easily be scaled in size during can operation. ? static allocation commands offer compatibility with tw incan applications, which are not list based. ? advanced interrupt handling: ? up to 8 interrupt output lines are available. most interrupt requests can be individually routed to one of the 8 interrupt output lines. ? message postprocessing notifications c an be flexibly aggregat ed into a dedicated register field of 64 notification bits.
xc858ca functional description data sheet 86 v1.0, 2010-03 3.18 analog-to-digital converter the xc858 includes a high-perf ormance 10-bit analog-to-digital converter (adc) with eight multiplexed analog input channels. the adc uses a successive approximation technique to convert t he analog voltage levels from up to eight different sources. the analog input channel s of the adc are available at an0 - an7. features ? successive approximation ? 8-bit or 10-bit resolution ? eight analog channels ? four independent result registers ? result data protection for slow cpu access (wait-for-read mode) ? single conversion mode ? autoscan functionality ? limit checking for conversion results ? data reduction filter (accumulation of up to 2 conversion results) ? two independent conversion request sources with programmable priority ? selectable conversion request trigger ? flexible interrupt generation wi th configurable service nodes ? programmable sample time ? programmable clock divider ? cancel/restart feature for running conversions ? integrated sample and hold circuitry ? compensation of offset errors ? low power modes 3.18.1 adc clocking scheme a common module clock f adc generates the various clock si gnals used by the analog and digital parts of the adc module: ? f adca is input clock for the analog part. ? f adci is internal clock for the analog part (defin es the time base for conversion length and the sample time). this clock is generat ed internally in the analog part, based on the input clock f adca to generate a correct duty cycle for the analog components. ? f adcd is input clock for the digital part. figure 29 shows the clocking scheme of the adc module. the prescaler ratio is selected by bit field ctc in register glob ctr. a prescaling ratio of 32 can be selected when the maximum performance of the adc is not required.
xc858ca functional description data sheet 87 v1.0, 2010-03 figure 29 adc clocking scheme for module clock f adc = 24 mhz, the analog clock f adci frequency can be selected as shown in table 29 . during slow-down mode, f adc may be reduced further, for example, to 12 mhz or 6 mhz. however, it is important to note that the conversion error could increase due to loss of charges on the capacitors, if f adc becomes too low during slow-down mode. 3.18.2 adc conversion sequence the analog-to-digital conversion procedu re consists of th e following phases: table 29 f adci frequency selection module clock f adc ctc prescaling ratio analog clock f adci 24 mhz 00 b 2 12mhz 01 b 3 8mhz 10 b 4 6mhz 11 b (default) 32 750 khz analog components f adci f adc = f pclk mux arbiter registers interrupts analog part digital part f adcd f adca 32 2
xc858ca functional description data sheet 88 v1.0, 2010-03 ? synchronization phase ( t syn ) ? sample phase ( t s ) ? conversion phase ? write result phase ( t wr ) figure 30 adc conversion timing t s t conv t wr sample bit busy bit conversion phase sample phase write result phase conversion start trigger source interrupt result interrupt t syn channel interrupt f adci
xc858ca functional description data sheet 89 v1.0, 2010-03 3.19 on-chip debug support the on-chip debug support (ocds ) provides the basic functionality required for the software development and debugging of xc800-based systems. the ocds design is based on these principles: ? use the built-in debug func tionality of the xc800 core ? add a minimum of hardware overhead ? provide support for mo st of the operations by a monitor program ? use standard interfaces to communicate with the host (a debugger) features ? set breakpoints on instruction addre ss and on address ra nge within the program memory ? set breakpoints on internal ram address range ? support unlimited software brea kpoints in flash/ram code region ? process external breaks via jtag and upon activating a dedicated pin ? step through the program code the ocds functional blocks are shown in figure 31 . the monitor mo de control (mmc) block at the center of ocds system brings together control sign als and supports the overall functionality. the mmc communicates with the xc800 core, primarily via the debug interface, and also receives reset and clock signals. after processing memory address and control signals from the core, the mmc provides proper access to the dedicated extra-memo ries: a monitor rom (holding the code) and a monitor ram (for work -data and monitor-stack). the ocds system is a ccessed through the jtag 1) , which is an interface dedicated exclusively for testing a nd debugging activities and is not normally used in an application. the dedica ted mbc pin is used for exter nal configurati on and debugging control. note: all the debug func tionality described here can norm ally be used only after xc858 has been started in ocds mode. 1) the pins of the jtag port can be assigned to either t he primary port (port 0) or ei ther of the secondary ports (ports 1 and 2/port 5). user must set the jtag pins (tck and tdi) as input during connection with the ocds system.
xc858ca functional description data sheet 90 v1.0, 2010-03 figure 31 ocds block diagram 3.19.1 jtag id register this is a read-only register located inside the jtag module, and is used to recognize the device(s) connected to the jtag interface. its content is shifted out when instruction register contains the idcode command (opcode 04 h ), and the same is also true immediately after reset. the jtag id register co ntents for the xc858 flas h devices are given in table 30 . table 30 jtag id summary device type device name jtag id flash xc858ca-16ff 1018 2083 h xc858ca-13ff 1018 3083 h xc858ca-9ff 1018 4083 h jtag module monitor & bootstrap loader control line jtag memory control unit user program memory xc800 core prog & iram addresses debug interface reset clock tms tck tdi tdo tck tdi tdo control memory control debug interface system control unit boot/ monitor rom monitor ram user internal ram reset reset clock prog data monitor mode control mbc - parts of ocds suspend control ocds_xc886c-block_diagram-um-v0.2
xc858ca functional description data sheet 91 v1.0, 2010-03 3.20 chip identification number the xc858 identity (id) register is located at page 1 of address b3 h . the value of id register is 49 h . however, for easy identificati on of product variants, the chip identification number, which is an unique number assigned to each product variant, is available. the differentiati on is based on the product, variant type and device step information. two methods are provided to read a device?s chip ident ification number: ? in-application subroutine, get_chip_info ? bootstrap loader (bsl) mode a table 31 lists the chip identifica tion numbers of available xc 858 flash device variants. table 31 chip identification number product variant chip id entification number ac-step flash devices xc858ca-16ff 4b5800c3 h xc858ca-13ff 4b5904c3 h xc858ca- 9ff 4b5a08c3 h
xc858ca electrical parameters data sheet 92 v1.0, 2010-03 4 electrical parameters chapter 4 provides the characteristics of the electrical par ameters which are implementation-specific for the xc858. 4.1 general parameters the general parameters are described here to aid the us ers in interpreting the parameters mainly in section 4.2 and section 4.3 . 4.1.1 parameter interpretation the parameters listed in this section repr esent partly the characteristics of the xc858 and partly its requirements on the system. to aid interpre ting the parameters easily when evaluating them for a design, they are indicated by the abbreviations in the ?symbol? column: ? cc these parameters indicate c ontroller c haracteristics, which are distinctive features of the xc858 and must be re garded for a system design. ? sr these parameters indicate s ystem r equirements, which must be provided by the microcontroller system in whic h the xc858 is designed in.
xc858ca electrical parameters data sheet 93 v1.0, 2010-03 4.1.2 absolute maximum rating maximum ratings are the extreme limits to which the xc858 can be subjected to without permanent damage. note: stresses above thos e listed under ?absolute ma ximum ratings? may cause permanent damage to the device. this is a stre ss rating only and functional operation of the device at these or any other condition s above those indicated in the operational sections of th is specification is not impl ied. exposure to absolute maximum rating conditions for exten ded periods may affect device reliability. during absolute maximum rating overload conditions ( v in > v ddp or v in < v ss ) the voltage on v ddp pin with respect to ground ( v ss ) must not exceed the values defined by the absolute maximum ratings. table 32 absolute maximu m rating parameters parameter symbol limit values unit notes min. max. ambient temperature t a -40 85 t st -65 150 t j -40 120 v ddp -0.5 6 v voltage on any pin with respect to v ss v in -0.5 v ddp + 0.5 or max. 6 v whatever is lower input current on any pin during overload condition i in -10 10 ma absolute sum of all input currents during overload condition | i in |? 50 ma
xc858ca electrical parameters data sheet 94 v1.0, 2010-03 4.1.3 operating conditions the following operating conditi ons must not be exceeded in order to ensure correct operation of the xc 858. all parameters mentioned in the following table refer to these operating conditions, unless otherwise noted. table 33 operating condition parameters parameter symbol limit values unit notes/ conditions min. max. digital power supply voltage v ddp 4.5 5.5 v 5v device digital ground voltage v ss 0v cpu clock frequency 1) 1) f cclk is the input frequency to the xc800 core. please refer to figure 22 for detailed description. f cclk 24 mhz ambient temperature t a -40 85
xc858ca electrical parameters data sheet 95 v1.0, 2010-03 4.2 dc parameters the electrical characteristics of the dc parameters are detaile d in this section. 4.2.1 input/output characteristics table 34 provides the characteristics of the input/output pi ns of the xc858. table 34 input/output characteristi cs (operating conditions apply) parameter symbol limit values unit test conditions min. max. v ddp = 5 v range output low voltage v ol cc ? 0.6 v i ol = 9 ma (ds = 0) 1) i ol =12ma (ds=1) 2) output high voltage v oh cc 2.4 ? v i oh = -20 ma (ds = 0) 1) i oh = -25 ma (ds = 1) 2) input low voltage v il sr -0.3 0.8 v cmos mode input high voltage v ih sr 2.2 v ddp v cmos mode input hysteresis hys cc 0.35 ? v cmos mode 3)4) input low voltage at xtal1 v ilx sr -0.3 0.8 v input high voltage at xtal1 v ihx sr 3.4 v ddp v pull-up current i pu sr ? -20 v ih,min -88 ? v il,max pull-down current i pd sr ? 10 v il,max 66 ? v ih,min input leakage current i oz1 cc -1 1 v in < v ddp , t a i ov sr -5 5 ma absolute sum of overload currents | i ov |sr? 25 ma 6) voltage on any pin during v ddp power off v po sr ? 0.3 v 7)
xc858ca electrical parameters data sheet 96 v1.0, 2010-03 maximum current per pin (excluding v ddp and v ss ) i m sr sr ? 25 ma maximum current for all pins (excluding v ddp and v ss ) | i m |sr? 150 ma maximum current into v ddp i mvddp sr ? 200 ma 6) maximum current out of v ss i mvss sr ? 200 ma 6) 1) ds = 0 refers to the pin having a weak drive st rength which is programmable via px_ds register. 2) ds = 1 refers to the pin having a strong drive st rength which is programmable via px_ds register. 3) not subjected to production test, verified by design/char acterization. hysteresis is implemented to avoid meta stable states and switching due to internal ground bounce. it cannot be guaranteed that it suppresses switching due to external system noise. 4) p0.1 has a minimum input hysteresis of 0.25v. 5) an additional error current ( i inj ) will flow if an overload current flows through an adjacent pin. tms pin and reset pin have internal pull devices and are not incl uded in the input leakage current characteristic. 6) not subjected to production test, verified by design/characterization. 7) not subjected to production test, verified by design/char acterization. however, for applications with strict low power-down current requirements, it is mandatory that no active voltage source is supplied at any gpio pin when v ddp is powered off. table 34 input/output characteristi cs (operating conditions apply) (cont?d) parameter symbol limit values unit test conditions min. max.
xc858ca electrical parameters data sheet 97 v1.0, 2010-03 4.2.2 supply threshold characteristics table 35 provides the characteristics of the supply threshold in the xc858. figure 32 supply th reshold parameters table 35 supply threshold parameters (operating conditions apply) parameters symbol limit values unit min. typ. max. v ddc brownout voltage 1) 1) detection is enabled in both active and power-down mode. v ddcbo cc 1.7 1.9 2.2 v ram data retention voltage v ddcrdr cc1.2??v v ddp prewarning voltage v ddppw cc 3.8 4.2 4.5 v power-on reset voltage 1)2) 2) the reset of evr is extended by 300 v ddcpor cc 1.7 1.9 2.2 v vddp vddc v ddppw v ddcpor v ddcbo 5.0v 2.5v v ddcrdr
xc858ca electrical parameters data sheet 98 v1.0, 2010-03 4.2.3 adc characteristics the values in the table be low are given for an analog power supply bet ween 4.5 v to 5.5 v. the adc can be used wit h an analog power supply down to 3 v. but in this case, the analog parame ters may show a reduced perf ormance. all ground pins ( v ss ) must be externally connected to one single star point in the sy stem. the voltage difference between the ground pins must not exceed 200mv. table 36 adc characteristics (o perating conditions apply; v ddp = 5v range) parameter symbol limit values unit test conditions/ remarks min. typ . max. analog reference voltage v aref sr v agnd + 1 v ddp v ddp + 0.05 v 1) analog reference ground v agnd sr v ss - 0.05 v ss v aref - 1 v 1) analog input voltage range v ain sr v agnd ? v aref v adc clocks f adc ? 24 ? mhz module clock 1) f adci ??14 2) mhz internal analog clock 1) see figure 29 sample time t s cc (2 + inpcr0.stc) t adci t c cc see section 4.2.3.1 |ea dnl | cc ? ? 1.5 lsb 10-bit conversion integral nonlinearity |ea inl | cc ? ? 2.5 lsb 10-bit conversion offset |ea off | cc ? ? 3 lsb 10-bit conversion gain |ea gain | cc ? ? 2.5 lsb 10-bit conversion switched capacitance at the reference voltage input c arefsw cc ? 10 14 pf 1)3) switched capacitance at the analog voltage inputs c ainsw cc ? 4 5 pf 1)4)
xc858ca electrical parameters data sheet 99 v1.0, 2010-03 input resistance of the reference input r aref cc ? 1 2 k ? r ain cc ? 1 3 k ? v aref /2 before connecting the input to the c-network. because of the parasitic elements, the voltage measured at anx is lower than v aref /2. table 36 adc characteristics (o perating condit ions apply; v ddp = 5v range) parameter symbol limit values unit test conditions/ remarks min. typ . max.
xc858ca electrical parameters data sheet 100 v1.0, 2010-03 figure 33 adc input circuits v agndx r ext analog input circuitry v ain c ext anx c ainsw r ain, on v agndx reference voltage input circuitry c arefsw r aref, on v arefx v aref
xc858ca electrical parameters data sheet 101 v1.0, 2010-03 4.2.3.1 adc conversion timing conversion time, t c = t adc t adc =1/ f adc
xc858ca electrical parameters data sheet 102 v1.0, 2010-03 4.2.4 power supply current table 37 and table 38 provide the characteristics of the power supply current in the xc858. table 37 power supply curre nt parameters (operati ng conditions apply; v ddp = 5v range) parameter symbol limit values unit test conditions typ. 1) 1) the typical i ddp values are based on preliminary measurements and are to be used as reference only. these values are periodically measured at t a =+25 v ddp =5.0v. max. 2) 2) the maximum i ddp values are measured under worst case conditions ( t a =+85 v ddp =5.5v). v ddp = 5v range active mode i ddp 37.5 45 ma 3) 3) i ddp (active mode) is measured with: cpu clock and input clock to all peripherals running at 24 mhz with on- chip oscillator of 4 mhz, reset = v ddp ; all other pins are disconnected, no load on ports. idle mode i ddp 29.2 35 ma 4) 4) i ddp (idle mode) is measured with: cpu clock disabled, wa tchdog timer disabled, input clock to all peripherals enabled and running at 24 mhz, reset = v ddp ; all other pins are disconnected, no load on ports. active mode with slow-down enabled i ddp 10 15 ma 5) 5) i ddp (active mode with slow-down mode) is measured with: cpu clock and input clock to all peripherals running at 1 mhz by setting clkrel in cmcon to 1000 b , reset = v ddp ; all other pins are disconnected, no load on ports. idle mode with slow-down enabled i ddp 9.2 14 ma 6) 6) i ddp (idle mode with slow-down mode) is measured with: cpu clock disabled, watchdog timer disabled, input clock to all peripherals enabled and running at 1 mhz by setting clkrel in cmcon to 1000 b , reset = v ddp ; all other pins are disconnected, no load on ports.
xc858ca electrical parameters data sheet 103 v1.0, 2010-03 table 38 power down current (o perating conditions apply; v ddp = 5v range) parameter symbol limit values unit test conditions typ. 1) 1) the typical i pdp values are based on preliminary measurements and are to be used as reference only. these values are measured at v ddp =5.0v. max. 2) 2) the maximum i pdp values are measured at v ddp =5.5v. v ddp = 5v range power-down mode i pdp 20 60 t a =+25 i pdp is measured with: reset = v ddp , v agnd = v ss , rxd/int0 = v ddp ; rest of the ports are programmed to be input with either internal pull devices enabled or driven externally to ensure no floating inputs. -200 t a =+85
xc858ca electrical parameters data sheet 104 v1.0, 2010-03 4.3 ac parameters the electrical characteristics of the ac parameters are detaile d in this section. 4.3.1 testing waveforms the testing waveforms for rise /fall time, output delay an d output high impedance are shown in figure 34 , figure 35 and figure 36 . figure 34 rise/fall time parameters figure 35 testing waveform, output delay figure 36 testing waveform, output high impedance 10% 90% 10% 90% v ss v ddp t r t f v dde / 2 te st p oin ts v dde / 2 v ss v ddp v load + 0.1 v v oh - 0.1 v timing reference points v load - 0.1 v v ol - 0.1 v
xc858ca electrical parameters data sheet 105 v1.0, 2010-03 4.3.2 output rise/fall times table 39 provides the characteristics of th e output rise/fall times in the xc858. figure 37 rise/fall times parameters table 39 output rise/fall times parame ters (operating conditions apply) parameter symbol limit values unit test conditions min. max. v ddp = 5v range rise/fall times t r , t f ?10 ns20 pf. 1) 2)3) 1) rise/fall time measurements are taken with 10% - 90% of pad supply. 2) not all parameters are 100% tested, but are verified by design/characterization and test correlation. 3) additional rise/fall time valid for c l = 20pf - 100pf @ 0.125 ns/pf. t r 10% 90% 10% 90% t f v ss v ddp
xc858ca electrical parameters data sheet 106 v1.0, 2010-03 4.3.3 power-on reset and pll timing table 40 provides the characteristics of th e power-on reset and pll timing in the xc858. figure 38 power-on reset timing table 40 power-on reset and pll timi ng (operating co nditions apply) parameter symbol limit values unit test conditions min. typ. max. on-chip oscillator start-up time t oscst cc ? ? 500 ns 1) 1) not all parameters are 100% tested, but are verified by design/characterization and test correlation. pll lock-in in time t lock cc ? ? 200 d p ??1.8ns 1)2) 2) pll lock at 144 mhz using a 4 mhz external oscillator. the pll divider settings are k = 2, n = 72 and p = 1. vddp pads vddc v pad osc t os cs t pll pll unlock pll lock t lock 1) pad state undefined 2)pull/input 3)as programmed i )unt il e v r is st able i i )unt il p ll is locked iii) reset is released and start of program
xc858ca electrical parameters data sheet 107 v1.0, 2010-03 4.3.4 on-chip oscillator characteristics table 41 provides the characteristics of th e on-chip oscillator in the xc858. table 41 on-chip oscillator characteri stics (operating conditions apply) parameter symbol limit values unit test conditions min. typ. max. nominal frequency f nom cc 3.88 4 4.12 mhz under nominal conditions 1) after ifx-backend trimming 1) nominal condition: v ddc =2.5v, t a =+25 ? f lt cc -5 ? 5 % with respect to f nom , over lifetime and temperature (-40 ? f st cc -1.0 ? 1.0 % with respect to f nom , over core supply voltage (2.5 v 7.5%), for one given device after trimming
xc858ca electrical parameters data sheet 108 v1.0, 2010-03 4.3.5 external data memory characteristics table 42 shows the timing of the exte rnal data memory read cycle. figure 39 external data memory read cycle table 42 external data memory read ti ming (operating conditions apply) parameter symbol limit values unit test conditions min. max. rd pulse width t 1 cc 2* f cclk -17 - ns 1) 1) not all parameters are 100% tested, but are verified by design/characterization and test correlation. address valid to rd t 2 cc f cclk -12 - ns 1) rd to valid data in t 3 sr - 1.5* f cclk -27 ns 1) address to valid data in t 4 sr - 3* f cclk -7 ns 1) data hold after rd t 5 sr 0.5* f cclk -17 - ns 1) data address rd addresses d[ 7: 0] valid t 1 t 3 t 2 t 4 t 5
xc858ca electrical parameters data sheet 109 v1.0, 2010-03 table 43 shows the timing of the exte rnal data memory write cycle. figure 40 external data memory write cycle table 43 external data memory write timing (operating conditions apply) parameter symbol limit values unit test conditions min. max. wr pulse width t 1 cc f cclk -10 - ns 1) 1) not all parameters are 100% tested, but are verified by design/characterization and test correlation. address valid to wr t 2 cc 2* f cclk -7 - ns 1) data valid to wr transition t 3 sr f cclk -5 - ns 1) data setup before wr t 4 sr 9* f cclk -13 - ns 1) data hold after wr t 5 sr 6* f cclk -3 - ns 1) data address wr addresses d[7:0] valid t 1 t 2 t 3 t 4 t 5
xc858ca electrical parameters data sheet 110 v1.0, 2010-03 4.3.6 external clock drive xtal1 table 44 shows the parameters that define the ex ternal clock supply for xc858. these timing parameters are based on the direct xta l1 drive of clock input signals. they are not applicable if an exte rnal crystal or ceramic resonator is considered. figure 41 external clock drive xtal1 table 44 external clock drive character istics (operating conditions apply) parameter symbol limit va lues unit test conditions min. max. oscillator period t osc sr 50 500 ns 1)2) 1) the clock input signals with 45-55% duty cycle are used. 2) not all parameters are 100% tested, but are verified by design/characterization and test correlation. high time t 1 sr 15 - ns 2)3) 3) the clock input signal must reach the defined levels v ilx and v ihx . low time t 2 sr 15 - ns 2)3) rise time t 3 sr - 10 ns 2)3) fall time t 4 sr - 10 ns 2)3) t 1 t 2 t 3 t 4 t osc 0.5 v ddc v ihx v ilx
xc858ca electrical parameters data sheet 111 v1.0, 2010-03 4.3.7 jtag timing table 45 provides the characteristics of the jtag timing in the xc858. figure 42 tck clock timing table 45 tck clock timing (operating conditio ns apply; cl = 50 pf) parameter symbol limits unit test conditions min max tck clock period t tck sr 50 - ns 1) 1) not all parameters are 100% tested, but are verified by design/characterization and test correlation. tck high time t 1 sr 20 - ns 1) tck low time t 2 sr 20 - ns 1) tck clock rise time t 3 sr - 4 ns 1) tck clock fall time t 4 sr - 4 ns 1) table 46 jtag timing (operating conditions apply; cl = 50 pf) parameter symbol limits unit test conditions min max tms setup to tck t 1 sr 8 - ns 1) tms hold to tck t 2 sr 0 - ns 1) tdi setup to tck t 1 sr 8 - ns 1) tdi hold to tck t 2 sr 4 - ns 1) tdo valid output from tck t 3 cc - 24 ns 1) tck t 4 0.9 v ddp t 3 t 1 0.1 v ddp t 2 t tck 0.5 v ddp
xc858ca electrical parameters data sheet 112 v1.0, 2010-03 figure 43 jtag timing tdo high impedan ce to valid output from tck t 4 cc - 18 ns 1) tdo valid output to high impedance from tck t 5 cc - 21 ns 1) 1) not all parameters are 100% tested, but are verified by design/characterization and test correlation. table 46 jtag timing (operating conditions apply; cl = 50 pf) (cont?d) parameter symbol limits unit test conditions min max tms tdi tck tdo t 1 t 2 t 1 t 2 t 4 t 3 t 5
xc858ca electrical parameters data sheet 113 v1.0, 2010-03 4.3.8 ssc master mode timing table 47 provides the characteristics of the ssc timing in the xc858. figure 44 ssc master mode timing table 47 ssc master mode timing (ope rating conditions apply; cl = 50 pf) parameter symbol limit values unit test conditions min. max. sclk clock period t 0 cc 2*t ssc ?ns 1)2) 1) t sscmin =t cpu =1/f cpu . when f cpu = 24 mhz, t 0 = 83.3ns. t cpu is the cpu clock period. 2) 1not all parameters are 100% tested, but are veri fied by design/characterization and test correlation. mtsr delay from sclk t 1 cc 0 5 ns 2) mrst setup to sclk t 2 sr 13 ? ns 2) mrst hold from sclk t 3 sr 0 ? ns 2) ssc_tmg1 sclk 1) mtsr 1) t 1 t 1 mrst 1) t 3 data valid t 2 t 1 1) this timing is based on the following setup: con.ph = con.po = 0. t 0
xc858ca package and quality declaration data sheet 114 v1.0, 2010-03 5 package and quality declaration chapter 5 provides the information of the xc 858 package and reliability section. 5.1 package parameters table 48 provides the thermal ch aracteristics of the pg -lqfp-64-4 package used in xc858. table 48 thermal characteristics of the packages parameter symbol limit values unit notes min. max. thermal resistance junction case 1) 1) the thermal resistances between the case and the ambient ( r tca ) , the lead and the ambient ( r tla ) are to be combined with the thermal resistances between the junction and the case ( r tjc ), the junction and the lead ( r tjl ) given above, in order to calculate the total thermal resistance between the junction and the ambient ( r tja ). the thermal resistances between the case and the ambient ( r tca ), the lead and the ambient ( r tla ) depend on the external system (pcb, case) characteristics, and are under user responsibility. the junction temperature can be calculated using the following equation: t j = t a + r tja p d , where the r tja is the total thermal resistance between the junction and the ambient. this total junction ambient resistance r tja can be obtained from the upper four partial thermal resistances, by a) simply adding only the two thermal resistances (junction lead and lead ambient), or b) by taking all four resistances into account, depending on the precision needed. r tjc cc - 13.8 k/w - thermal resistance junction lead 1) r tjl cc - 34.6 k/w -
xc858ca package and quality declaration data sheet 115 v1.0, 2010-03 5.2 package outline figure 45 shows the package ou tlines of the xc858. figure 45 pg-lqfp-64 -4 package outline
xc858ca package and quality declaration data sheet 116 v1.0, 2010-03 5.3 quality declaration table 49 shows the characteristics of t he quality parameters in the xc858. table 49 quality parameters parameter symbol limit values unit notes min. max. esd susceptibility according to human body model (hbm) v hbm - 2000 v conforming to eia/jesd22- a114-b esd susceptibility according to charged device model (cdm) pins v cdm - 500 v conforming to jesd22-c101-c
www.infineon.com published by infineon technologies ag


▲Up To Search▲   

 
Price & Availability of SAF-XC858CA-16FFI5V

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X